FormsSelect Input
Select Input
A select input for choosing a single value from a small list of options.
SelectInputProps
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
disabled | boolean | — | false | — |
id | string | — | — | — |
onChange | (value: Value) => void | Yes | — | — |
options | OptionsOrGroups<Value> | Yes | — | — |
placeholder | string | — | — | — |
size | xsmall|small|medium | — | medium | Rendered height: `xsmall` 26px, `small` 32px, `medium` 40px. |
value | Readonly<Value> | undefined | Yes | — | — |
Also accepts ValidSelectProps | ||||