Skip to content

FormControl

function FormControl(__namedParameters: FormControlProps): Element;

FormControl provides context such as isInvalid, isDisabled, and isRequired to form elements. Commonly used in form elements such as input, select, textarea, etc.

Parameter Type
__namedParameters FormControlProps

Element

Docs https://caspeco.github.io/casper-ui-library/components/form-control