diff --git a/src/runtime/components/Form.vue b/src/runtime/components/Form.vue index 8c8fd06a..742fb92c 100644 --- a/src/runtime/components/Form.vue +++ b/src/runtime/components/Form.vue @@ -217,6 +217,7 @@ async function onSubmitWrapper(payload: Event) { try { event.data = await _validate({ nested: true, transform: props.transform }) await props.onSubmit?.(event) + dirtyFields.clear() } catch (error) { if (!(error instanceof FormValidationException)) { throw error