LabelledSelect
Component | Source Code
extends SelectProps, LabelledProps
Props Inheritance Hierarchy: ComponentPropsWithRef<“select”> -> SelectProps & LabelledProps
Properties
Section titled “Properties”error?: string
Section titled “error?: string”info?: string
Section titled “info?: string”label?: string
Section titled “label?: string”labelPosition?: LabelPosition
Section titled “labelPosition?: LabelPosition”What position the label text appears relative to the input.
labelProps?: LabelProps
Section titled “labelProps?: LabelProps”labelTextProps?: InlineTextProps
Section titled “labelTextProps?: InlineTextProps”onChangeSelection?: Function
Section titled “onChangeSelection?: Function”Handler for when the user attempts to change their selection in the dropdown.
options?: (SelectOption | SelectOptionGroup)[]
Section titled “options?: (SelectOption | SelectOptionGroup)[]”The options to show in the dropdown.