Merge pull request #901 from smilerz/patch

fix inputLookup
This commit is contained in:
vabene1111
2021-09-15 17:27:42 +02:00
committed by GitHub
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)
},
},