fix inputLookup

This commit is contained in:
smilerz
2021-09-15 08:13:22 -05:00
parent 90dc445c45
commit 5c0fa7cd19
14 changed files with 107 additions and 105 deletions

View File

@ -86,7 +86,9 @@ export default {
'new_value': function () {
let x = this?.new_value
// pass the unflattened attributes that can be restored when ready to save/update
x['__override__'] = this.unflattenItem(this?.new_value)
if (this.form?.ordered) {
x['__override__'] = this.unflattenItem(this?.new_value)
}
this.$root.$emit('change', this.form.field, x)
},
},