idRequired
string
childrenRequired
ValidDropdownChildren | ValidDropdownChildren[]
valueRequired
string | number | readonly string[]
onChangeRequired
FormEventHandler<HTMLSelectElement>
aria-labelledbyRequired
string
aria-labelRequired
string
labelRequired
ReactNode
name
string
autoFocus
boolean
aria-describedby
string
data
DataAttributeMap
autoComplete
string
disabled
boolean
required
boolean
tone
"caution" | "critical" | "neutral" | "positive"
icon
ReactNode
description
ReactNode
message
ReactNode
reserveMessageSpace
boolean
onBlur
FocusEventHandler<HTMLSelectElement>
onFocus
FocusEventHandler<HTMLSelectElement>
placeholder
string
secondaryLabel
ReactNode
tertiaryLabel
ReactNode
ref
Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).
string | (instance: HTMLSelectElement | null) => void | RefObject<HTMLSelectElement>