message: fix: remove uneeded filter at the fields computed prop and add check in destroy hook closes
diff: @@ -63,7 +63,7 @@ export default {
  return this.$validator.errors;
  };
  this.$options.computed[options.fieldsBagName || 'fields'] = function fieldBagGetter () {
  - return this.$validator.fields.items.filter(f => f.vmId === this._uid).reduce((acc, field) => {
  + return this.$validator.fields.items.reduce((acc, field) => {
  if (field.scope) {
  acc[`$${field.scope}`] = {
  [field.name]: field.flags
  @@ -79,7 +79,7 @@ export default {
  };
  },
  beforeDestroy () {
  - if (this._uid === this.$validator.id) {
  + if (this.$validator && this._uid === this.$validator.id) {
  this.$validator.errors.clear(); // remove errors generated by this component.
  }
  }
  