interface FormControlProps @formium/react
Props
children
React.ReactNode

React children. This is where actual field implementation will be rendered.

description
React.ReactNode

Optional helper text.

disabled
boolean

Whether field should appear as non-interactive. Remember that input elements must be disabled separately.

Required
error
React.ReactNode

Error message (if present) and the current field has been visited, otherwise this will be undefined.

label
React.ReactNode

Label of this field.

labelFor
string

id attribute of the field that this FormControl controls, used as <label htmlFor> attribute.

required
boolean

Whether field is required

Required

Build forms, without the tears.