diff --git a/src/runtime/components/Form.vue b/src/runtime/components/Form.vue index 96614d2a..57de7b5b 100644 --- a/src/runtime/components/Form.vue +++ b/src/runtime/components/Form.vue @@ -278,6 +278,7 @@ defineExpose>({ }, disabled, + loading, dirty: computed(() => !!dirtyFields.size), dirtyFields: readonly(dirtyFields) as DeepReadonly>, diff --git a/src/runtime/types/form.ts b/src/runtime/types/form.ts index 520d738d..351b6df6 100644 --- a/src/runtime/types/form.ts +++ b/src/runtime/types/form.ts @@ -14,6 +14,7 @@ export interface Form { submit (): Promise disabled: ComputedRef dirty: ComputedRef + loading: Ref dirtyFields: DeepReadonly> touchedFields: DeepReadonly>