Forms

We all now what forms are, right? Instead of telling a lot about basic HTML forms, we just want to describe what a form is in context of react-controlled-form.

Within react-controlled-form we define forms with fields. Those fields must be wrapped by a <Form> component, which is basically just a wrapper that scopes all field data to a specific store scope using the required formId property.
Apart from that, we can use the <Form> component to handle data processing on form submit, set the initial field data values, perform global validation and react to any field data update.
Everything else should be done within the fields directly.

results matching ""

    No results matching ""