FormField
#
This component extends Controller
component of react-hook-form and is meant to be used with material-ui components.
Can't be used outside
<Form>
.
#
Example#
PropsExtends
Controller
props
Additional props:
Name | Type | Default | Required | Description |
---|---|---|---|---|
error | boolean | No | Weither field is in error or not. | |
helperText | string | No | Error message to display. | |
disabled | boolean | No | Weither field is disabled or not. |