Handle submit
Last updated
Last updated
Provide the prop to handle a submit of a Form
component.
The action
prop expects a function which returns a Promise. By returning the latter Form can properly react to the Promise status, which is a submit request status at the same time.
Read more about the prop.