Skip to components
DEVELOPER REFERENCE · v4.0.0

Select API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

Select5 props1 callbacks0 methods

Props5

Select props
NameTypeDescription
environmentOptional
DropdownEnvironment | undefinedInspect type
Optional host integration for portalled popup lifecycle and pointer releases.
valueOptional
string | number | readonly string[] | undefinedInspect type
Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
defaultValueOptional
string | number | readonly string[] | undefinedInspect type
Initial value used when the component is not controlled by a value prop.
optionPolicyOptional
((props: SelectOptionProps) => SelectOptionProps) | undefinedInspect type
Optional domain policy for option descriptors; no native option nodes are mounted.
multipleRequiredtrueEnables selecting multiple values rather than one.

Events and callbacks1

Select events and callbacks
NameTypeDescription
onValueChangeOptional
((value: string[]) => void) | undefinedInspect type
Receives the updated input value. Store it in application state and pass it back through value.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.

Inherited HTML props and events311