Component to enrich a Grapes input.
View source codeReactNode
The content to display in the FormField
string
The text to display as the label.
string
The text to display as alert message. If provided, the FormField will act as a React Context provider so that any descendant Grapes `<Input />` can automatically apply `isInvalid` & `aria-invalid`
string
className for the element
string
A description for the field. Provide a hint message to guide user.
ReactNode
Content to render as additionnal information on the right side of the label
string
The id of the element which is associated with the control. Use only to break the automatic link between the label and the input
ReactNode
The content to display in the tooltip near the label
boolean
Whether the label should be visually hidden
Default: falsestring
The text to display as warn message.