diff --git a/src/runtime/components/Form.vue b/src/runtime/components/Form.vue index 17fbb309..6842eca6 100644 --- a/src/runtime/components/Form.vue +++ b/src/runtime/components/Form.vue @@ -211,9 +211,9 @@ async function onSubmitWrapper(payload: Event) { children: error.children } emits('error', errorEvent) + } finally { + loading.value = false } - - loading.value = false } const disabled = computed(() => props.disabled || loading.value)