select
v4.15.0arrow_drop_downComposes 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.
The id attribute for the select.
The name attribute for the select.
The options that are passed to the select.
The initial value of an uncontrolled select
Function called when value changes.
The value of the select.
When true, the select is required.
When true, the select should auto focus.
When true, the select is invalid.
The appearance of the select. The default theme only supports default.
Theme provided by ThemeProvider.
Name | Type | Default value | Description |
---|---|---|---|
label (required) | node | The label used above the input element. | |
labelFor | string | Passed on the label as a htmlFor prop. | |
isRequired | bool | Wether or not show a asterix after the label. | |
description | node | A optional description of the field under the label, above the input element. | |
hint | node | A optional hint under the input element. | |
validationMessage | node | If a validation message is passed it is shown under the input element
and above the hint. This is unaffected by | |
inputHeight | number | 32 | The height of the input element. |
inputWidth | number | string | '100%' | The width of the input width. |