do not advance multi step modal form unless valid

This commit is contained in:
dandds
2019-03-25 14:42:54 -04:00
parent e6fd32f612
commit 4987d24bef
2 changed files with 28 additions and 3 deletions

View File

@@ -63,6 +63,11 @@ export default {
this.value = conformToMask(this.value, mask).conformedValue
}
}
},
created: function() {
this.$root.$emit('field-mount', { name: this.name, optional: this.optional })
},
methods: {