Update BaseForm and nested vue components to properly use emitters

This commit is contained in:
leigh-mil
2019-11-13 14:28:10 -05:00
parent 0abe27eb36
commit 1ecd786857
3 changed files with 10 additions and 18 deletions

View File

@@ -37,8 +37,8 @@ export default {
handleChildFieldChange: function(event) {
// need to temporarily use this function because we will no longer be passing
// parent_uid or watch from the child components
const { value, name, valid } = event
if (typeof this.fields[name] !== undefined) {
const { name, valid } = event
if (typeof this.fields[name] !== 'undefined') {
this.fields[name] = valid
this.changed = true
}