Optional
children?: ReactNodeOptional
disabled?: booleanOptional
maxWith multiple
, the maximum number of values that can be selected.
When multiple
is false or not defined, this is always 1.
This only limits the number of values that can be received by the user. This does not limit the number of values that can be displayed by you.
Optional
minWith multiple
, the minimum number of values that can be selected.
When multiple
is false or not defined, this is always 1.
This only limits the number of values that can be received by the user. This does not limit the number of values that can be displayed by you.
Optional
multiple?: booleanSet to true to allow multiple selected values
Optional
onCalled when the user inputs a selection. Receives the entire select change event, which can be used to create new replies, etc.
Optional
onConvenience shorthand for onChange
, which receives all selected values.
Optional
onConvenience shorthand for onChange
, which receives the first selected value.
Optional
placeholder?: stringThe text shown when no value is selected
Optional
value?: stringSets the currently selected value
Optional
values?: string[]Sets the currently selected values, for use with multiple
Generated using TypeDoc
When true, the select will be slightly faded, and cannot be interacted with.