From a5cbc55a7e41cfe72750380e6f0abcb305477b92 Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Tue, 2 Jan 2024 12:36:09 -0400 Subject: [PATCH] Fix form model feedback --- src/components/FormModel.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }