submitForm
submitForm(
operationId,handler,formData):Action[]
Defined in: actions/helpers.ts:125
For a form’s onSubmit: prevent the browser submit, then run handler with formData ('prevent' strategy).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
operationId | string |
handler | string |
formData | any |
Returns
Section titled “Returns”Action[]