diff --git a/src/components/TwoColumnForm.vue b/src/components/TwoColumnForm.vue index fd818d18..6542473b 100644 --- a/src/components/TwoColumnForm.vue +++ b/src/components/TwoColumnForm.vue @@ -21,6 +21,7 @@ :column-ratio="columnRatio" :no-border="true" :focus-first-input="true" + :autosave="false" @error="(msg) => $emit('error', msg)" />
@@ -33,7 +34,7 @@ @@ -160,7 +161,7 @@ let TwoColumnForm = { return this.evaluateBoolean(df.hidden, false); }, onChange(df, value) { - if (value == null) { + if (value == null || df.inline) { return; } @@ -171,7 +172,7 @@ let TwoColumnForm = { return; } - if (this.emitChange && !df.inline) { + if (this.emitChange) { this.$emit('change', df, value, oldValue); } @@ -223,7 +224,7 @@ let TwoColumnForm = { this.doc.meta.inlineEditDisplayField || 'name'; this.inlineEditFields = frappe.getMeta(df.target).getQuickEditFields(); }, - async saveInlineEditDoc() { + async saveInlineEditDoc(df) { if (!this.inlineEditDoc) { return; }