Watch for changes on the options input, which is a grandchild of base-form

This commit is contained in:
Montana
2019-05-01 17:22:32 -04:00
parent 5692088837
commit 416ea1de82
7 changed files with 18 additions and 9 deletions

View File

@@ -16,8 +16,7 @@ export default {
const { name, valid, parent_uid } = event
if (typeof this[name] !== undefined) {
this.fields[name] = valid
if (parent_uid === this._uid) {
if (event['parent_uid'] === this._uid || event['watch']) {
this.changed = true
}
}