Optional
alignDropDown?: "start" | "center" | "end"Optional
buttonClassName?: stringAdditional css classes to help with unique styling of the combo box button
Optional
buttonPlaceholder?: stringText displayed on button if value
is undefined
Optional
buttonVariant?: ButtonProps["variant"]Variant of button
Optional
className?: string3 December 2024. Renamed to buttonClassName
Optional
commandEmptyMessage?: stringText to display when no options match input
Optional
getOptionLabel?: (option: ComboBoxOption) => stringUsed to determine the string value for a given option.
Optional
icon?: ReactNodeIcon to be displayed on the trigger
Optional
id?: stringOptional unique identifier
Optional
isDisabled?: booleanOptional boolean to set if trigger should be disabled
Optional
onChange?: (newValue: T) => voidTriggers when content of textfield is changed
Optional
options?: readonly T[]List of available options for the dropdown menu
Optional
popoverContentClassName?: stringAdditional css classes to help with unique styling of the combo box popover
Optional
textPlaceholder?: stringPlaceholder text for text field
Optional
value?: TThe selected value that the combo box currently holds. Must be shallow equal to one of the options entries.
Control how the popover menu should be aligned. Defaults to start