Fix form model feedback

This commit is contained in:
Kevin Martinez 2024-01-02 12:36:09 -04:00
parent c29586632c
commit a5cbc55a7e
1 changed files with 1 additions and 3 deletions

View File

@ -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 }