<Form>
Register a form with a state container.
Properties
Property | Description |
---|---|
children | Must be a React Node |
from | What store to retrieve state from. |
id | The key used to identify this form in the state container |
register | Register states |
debug | When true, log messages regarding state changes will be printed to the console . |
verbose | When true, verbose log messages are printed to the console . |
onMount | Called with the current form state when the component mounts. |
onUnmount | Called with the current form state when the component unmounts. |
initialValues | Initial form values |
onValidate | Validation callback |
onSubmit | Form submit callback |
onReset | Form reset callback |
Live Editor
Result
Loading...