Handle submit
Provide the action
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 action
prop.
Last updated