Getting Started
Field Component
The same form features without writing a hook per input. Submit with the email empty to see the built-in required check.
What this shows
<Field> connects inputs without writing a hook per input.
- Child element:
<Field>passesvalue,onChange(event),onBlur,error,touchedandextraInfoto its child. - Render function:
onChangetakes the new value directly, which suits radios, checkboxes and custom widgets. requiredadds a "Required" check when there's novalidate.withFormProviderwraps the form in aFormProvider.