Property | Type | Description |
---|---|---|
Initial State | code | Form initial values |
Debounce | number | How often the "OnChange" event should be called. Number in milliseconds |
Enable Reinitialize | boolean | |
Actions | action |
The initial state
property is not required, but when needed, it should be in the following structure:
return {
"FIELD_NAME": "INITIAL_VALUE"
}
Where FIELD_NAME
would be the name of each input, select or checkbox.
Event | Description |
---|---|
On Submit | Triggered when the user submits the form |
On Change | Triggered when any field inside the form changes its value, and the Debounce property is defined |
The Form
component should be used as a parent component for the following components: