Emit field change events from root

This commit is contained in:
Patrick Smith 2018-08-10 10:52:27 -04:00
parent 6fa57c310a
commit 90240c19af

View File

@ -89,7 +89,7 @@ export default {
this.showValid = valid
// Emit a change event
this.$emit('fieldChange', {
this.$root.$emit('field-change', {
value,
valid,
name: this.name