fix: refs #6943 reset formData to originalData on reset function #1448

Merged
jsegarra merged 1 commits from 6943-warmfix-resetFormData into test 2025-02-19 17:39:07 +00:00
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ async function saveAndGo() {
}
function reset() {
formData.value = JSON.parse(JSON.stringify(originalData.value));
updateAndEmit('onFetch', { val: originalData.value });
if ($props.observeFormChanges) {
hasChanges.value = false;