This commit is contained in:
2021-04-13 23:50:05 +00:00
parent 20f74cd231
commit 08963c5818
2 changed files with 3 additions and 1 deletions

View File

@@ -107,6 +107,8 @@ export default {
},
fieldValueChanged(ref) {
if (!this.formState.loading && !this.formState.readonly) {
//flag this record dirty so it gets picked up by save
this.value.isDirty = true;
window.$gz.form.fieldValueChanged(this.pvm, ref);
}
}

View File

@@ -702,7 +702,7 @@ async function deleteItems(vm, err) {
return err;
}
}
async function saveItems(vm) {
async function saveItems(vm, err) {
let totalItems = vm.obj.items.length;
if (totalItems == 0) {
return true;