defaultOnSubmissionSuccess
Overview
Default implementation for onSubmissionSuccess hook.
Signature
defaultOnSubmissionSuccess(options)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| options | object | yes |
options Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| isUpdate | boolean | Whether it was a create or update submission. | ||
| router | Router | The router. | ||
| state | object | The form state. | ||
| toast | (message: titleT, data: ExternalToast) => string | number & object & object | The toast service. |
Returns
Promise
Source
client/lib/use/useObjectForm.js:219