Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
<SubmitButton /> - Attio Docs
This component is returned by useForm().

When rendered in a dialog, the submit button will not be shown where you have placed it, but will be plucked out of the dialog contents and placed at the bottom of the dialog.

One – and only one<SubmitButton /> is required as a direct child of [`

`](./form).

Props

label : string

The label of the submit button.

disabled? : boolean

Whether or not the submit button should be disabled.

It will automatically be disabled while the form is being submitted.

You do not need to manage that state!