SelectField
Example
Select a color
Props
Name | Type | Default Value | Required | Description |
---|---|---|---|---|
menuSize |
| No | ||
placeholder | string | No | ||
options | SelectOption<A>[] | Yes | ||
noOptionsMessage | string | No | ||
isReadOnly | boolean | No | ||
searchable | boolean | No | ||
isMulti | boolean | No | ||
name | string | No | ||
value | A | A[] | Yes | ||
onChange | ((value: A) => unknown) | ((value: A[]) => unknown) | Yes | ||
onBlur | () => unknown | No | ||
label | string | Yes | ||
issues | NonEmptyArray<Children> | No | ||
disabled | boolean | No | ||
assistiveText | Children | No | ||
autoFocus | boolean | No | ||
hint | string | No | ||
hintPlacement |
| No | ||
showMultiSelectBulkActions | boolean | No | ||
selectAllButtonLabel | string | No | ||
clearAllButtonLabel | string | No | ||
multiSelectMode |
| No | ||
multiValueMessage | (numberOfSelectedOptions: number) => string | No |