diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index e683ce735..691cf63bd 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -97,9 +97,7 @@ const startFormWatcher = () => { watch( () => formData.value, (val) => { - if (!isResetting.value && val) { - hasChanges.value = true; - } + hasChanges.value = !isResetting.value && val; isResetting.value = false; }, { deep: true }