Skip to content

Commit 05b9b30

Browse files
committed
docs: add missing submit slot info in AutoForm docs
1 parent d55c8fd commit 05b9b30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/content/2.customization/2.form.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ you want to provide submit or edit form feature.
2626
|-----------------|---------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
2727
| `before-fields` | | Slot inside [`<UForm>`](https://ui.nuxt.com/components/form) before the list of [`<UFormField>`](https://ui.nuxt.com/components/form-field) |
2828
| `after-fields` | | Slot inside [`<UForm>`](https://ui.nuxt.com/components/form) after the list of [`<UFormField>`](https://ui.nuxt.com/components/form-field) |
29+
| `submit` | `{ disabled: boolean }` | Slot for customizing the submit button. `disabled` indicates whether at least one field is invalid. |
2930
| `<field>` | `{ field: string, state: Ref<Record<string, any> }>`{lang=ts} | **Dynamic** slot for a specific field inside Zod schema. |
3031

3132
### Dynamic slots

0 commit comments

Comments
 (0)