Skip to content

Commit

Permalink
Merge pull request #546 from gapipro/v3
Browse files Browse the repository at this point in the history
Big fix: v3 - Remove event listeners in abstractField for current context only
  • Loading branch information
zoul0813 committed Feb 7, 2019
2 parents 2b4ab0b + ffb839f commit 218baba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fields/abstractField.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ export default {
}
},
beforeDestroy() {
this.eventBus.$off("clear-validation-errors");
this.eventBus.$off("validate-fields");
this.eventBus.$off("clear-validation-errors", this.clearValidationErrors);
this.eventBus.$off("validate-fields", this.validate);
this.eventBus.$emit("field-deregistering", this);
}
};

0 comments on commit 218baba

Please sign in to comment.