FormActions
The actions creators for form module.
Actions
Your application can dispatch below actions.
blur: (field: string)mark field as touchedchange: (field: string, value: any)update the field valuechangeMany: (values: object)update multiple values, if a field is not defined invaluesit won't be set to undefinedreplace: (values: object)replace all values with the provided valuestouchAllmark all fields as touchedsubmitvalidate data and trigger setSubmitFailed/setSubmitSucceededresetreset the module, clear values, errors and touched statusresetTouchedreset touched status
Your application should not dispatch below actions, they are used only internally.
setErrors: (errors: object)set validation errors (result fromvalidatefunction)setSubmitSucceededdispatched if submit was successfulsetSubmitFaileddispatched if submit was not successful (there are validation errors)validatetrigger validation