Form Control
The Form Control component is a utility that lets you associate a form input with auxiliary components, such as labels, error indicators, or helper text.
useFormControlContext API
Import
import { useFormControlContext } from '@mui/base/FormControl';
// or
import { useFormControlContext } from '@mui/base';
If true
, the label, input and helper text should be displayed in a disabled state.
Type:boolean
Callback fired when the form element's value is modified.
Type:React.ChangeEventHandler<NativeFormControlElement>