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). onOpenChange (
( isOpen : boolean ,
, menuTrigger ? : MenuTriggerAction
) ) => void — Method that is called when the open state of the menu changes. Returns the new open state and the action that caused the opening of the menu. 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 MenuTriggerAction 'input'The interaction required to display the ComboBox menu. name string — The name of the input element, used when submitting an HTML form. See MDN . disabledKeys Iterable < Key > — The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with. selectedKey Key | null — 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. 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. label ReactNode — The content to display as the label. description ReactNode — A description for the field. Provides a hint such as specific requirements for what to choose. errorMessage ReactNode — An error message for the field.