Interface: SubmitOptions
Defined in: core/src/nodes/node-types.ts:126
Options of handleSubmit.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
focusElement? | readonly | FocusElementOption | Overrides the form's option for this submit. | core/src/nodes/node-types.ts:135 |
onInvalid? | readonly | (errors) => void | Promise<void> | Called with the errors, in the order listErrors lists them, when the subtree has errors. Focus moves once the promise it returns settles, so it can open what hides a field, such as a dialog. | core/src/nodes/node-types.ts:131 |
shouldFocusError? | readonly | FocusErrorOption | Overrides the form's option for this submit. | core/src/nodes/node-types.ts:133 |