diff --git a/src/boot/qformMixin.js b/src/boot/qformMixin.js index b4da69b62..cb31391b3 100644 --- a/src/boot/qformMixin.js +++ b/src/boot/qformMixin.js @@ -44,7 +44,7 @@ export default { return; } evt.preventDefault(); - that.onSubmit(false); + that.onSubmit(); } }); }, diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 1f5cd518f..5a59f301e 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -207,7 +207,7 @@ async function fetch() { } } -async function save(prevent = true) { +async function save(prevent = false) { if (prevent) return; if ($props.observeFormChanges && !hasChanges.value) return notify('globals.noChanges', 'negative');