children CollectionChildren < T > — The contents of the collection. defaultFilter FilterFn — The filter function used to determine if a option should be included in the combo box list. allowsEmptyCollection boolean — Whether the combo box allows the menu to be open when the collection is empty. shouldCloseOnBlur boolean — Whether the combo box menu should close on blur. defaultItems Iterable < T > — The list of ComboBox items (uncontrolled). items Iterable < T > — The list of ComboBox items (controlled). isOpen boolean — Sets the open state of the menu. defaultOpen boolean — Sets the default open state of the menu. onOpenChange (
( isOpen : boolean
) ) => void — Method that is called when the open state of the menu changes. inputValue string — The value of the ComboBox input (controlled). defaultInputValue string — The default value of the ComboBox input (uncontrolled). onInputChange (
( value : string
) ) => void — Handler that is called when the ComboBox input value changes. allowsCustomValue boolean — Whether the ComboBox allows a non-item matching input value to be set. menuTrigger 'focus'
| 'input'
| 'manual' 'input' The interaction required to display the ComboBox menu. shouldFlip boolean true Whether the menu should automatically flip direction when space is limited. disabledKeys Iterable < Key > — The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with. disallowEmptySelection boolean — Whether the collection allows empty selection. selectedKey Key — The currently selected key in the collection (controlled). defaultSelectedKey Key — The initial selected key in the collection (uncontrolled). onSelectionChange (
( key : Key
) ) => any — Handler that is called when the selection changes. isDisabled boolean — Whether the input is disabled. isReadOnly boolean — Whether the input can be selected but not changed by the user. placeholder string — Temporary text that occupies the text input when it is empty. id string — The element's unique identifier. See MDN . validationState ValidationState — Whether the input should display its "valid" or "invalid" visual styling. isRequired boolean — Whether user input is required on the input before form submission.
Often paired with the necessityIndicator prop to add a visual indicator to the input. autoFocus boolean — Whether the element should receive focus on render. onFocus (
( e : FocusEvent
) ) => void — Handler that is called when the element receives focus. onBlur (
( e : FocusEvent
) ) => void — Handler that is called when the element loses focus. onFocusChange (
( isFocused : boolean
) ) => void — Handler that is called when the element's focus status changes. onKeyDown (
( e : KeyboardEvent
) ) => void — Handler that is called when a key is pressed. onKeyUp (
( e : KeyboardEvent
) ) => void — Handler that is called when a key is released.