diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index a7af0044b..2dc14160f 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -101,7 +101,7 @@ onMounted(async () => { }); onBeforeRouteLeave((to, from, next) => { - if (hasChanges.value) + if (hasChanges.value && $props.observeFormChanges) quasar.dialog({ component: VnConfirm, componentProps: {