Basic usage
Props
Select| Name | Type | Description |
error | boolean | Error / Danger mode |
className | string | - |
disabled | boolean | Disabled input |
labelText | string | Ghost/floating label. |
value | string | Value for select |
defaultValue | string | Value for uncontrolled |
helperText | string | Additional text to help guide user |
onChange | FormEventHandler<HTMLSelectElement> | Callback fired when the value is changed |
size | "small" | "medium" | "large" | Size of input |
includeEmptyOption | boolean | Add an empty option if labelText / ghostLabel is present |
isRequired | boolean | Whether the input is required |
requiredIndicator | string | The label for the required indicator (defaults to *) |