diff --git a/src/components/FormModelPopup.vue b/src/components/FormModelPopup.vue index f1a59263b..4e5ceb9e7 100644 --- a/src/components/FormModelPopup.vue +++ b/src/components/FormModelPopup.vue @@ -42,6 +42,7 @@ const onDataSaved = async (formData, requestResponse) => { }; const onClick = async (saveAndContinue = showSaveAndContinueBtn) => { + await formModelRef.value.myForm.validate(true); isSaveAndContinue.value = saveAndContinue; if (formModelRef.value) { await formModelRef.value.submitForm(); @@ -66,13 +67,18 @@ defineExpose({ @on-data-saved="onDataSaved" :prevent-submit="false" > -