This project consists of the base development of a forms library to reactjs.
{
"values": {
"field_name": "value"
},
"errors": {
"field_name": []
}
}
Prop | Type | Description | Example |
---|---|---|---|
id | string | Identification of the form. (Must be unique) | |
initialValues | Object | initial values of the form | |
onSubmit | Function | Callback function to submit form |