form-field
v4.15.0arrow_drop_downThe label used above the input element.
Passed on the label as a htmlFor prop.
Wether or not show a asterix after the label.
A optional description of the field under the label, above the input element.
A optional hint under the input element.
If a validation message is passed it is shown under the input element
and above the hint. This is unaffected by isInvalid
.
Composes the dimensions spec from the Box primitivie.
Composes the spacing spec from the Box primitivie.
Composes the position spec from the Box primitivie.
Composes the layout spec from the Box primitivie.
Composes the Paragraph component as the base.
Composes the Paragraph component as the base.
Name | Type | Description |
---|---|---|
isAstrixShown | bool | Wether or not tho show an asterix after the label. |
children | node | The contents of the validation message. This is wrapped in a paragraph, use a string. |
theme (required) | object | Theme provided by ThemeProvider. |