defaultOnSubmitAnyError
Overview
Default implementation for onSubmitAnyError hook.
Signature
defaultOnSubmitAnyError(options)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| options | object | yes |
options Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| formContext | FormContext | |||
| toast | (message: titleT, data: ExternalToast) => string | number & object & object |
Returns
Promise
True if the submission should be stopped.
Source
client/lib/use/useObjectForm.js:111