OptionalallowOptionalalwaysWhether to always submit on Enter key press, even if popup is open. Useful for single-field autocomplete forms where Enter should submit the form.
OptionalautoWhether to autofocus the input on mount
OptionalcloseWhether to close the combobox when an item is selected.
The collection of items
OptionalcompositeWhether the combobox is a composed with other composite widgets like tabs
OptionaldefaultThe initial highlighted value of the combobox when rendered. Use when you don't need to control the highlighted value of the combobox.
OptionaldefaultThe initial value of the combobox's input when rendered. Use when you don't need to control the value of the combobox's input.
OptionaldefaultThe initial open state of the combobox when rendered. Use when you don't need to control the open state of the combobox.
OptionaldefaultThe initial value of the combobox's selected items when rendered. Use when you don't need to control the value of the combobox's selected items.
OptionaldisabledWhether the combobox is disabled
OptionaldisableWhether to disable registering this a dismissable layer
OptionalformThe associate form of the combobox.
OptionalhighlightedThe controlled highlighted value of the combobox
OptionalidThe unique identifier of the machine.
OptionalidsThe ids of the elements in the combobox. Useful for composition.
OptionalinputDefines the auto-completion behavior of the combobox.
autohighlight: The first focused item is highlighted as the user typesautocomplete: Navigating the listbox with the arrow keys selects the item and the input is updatedOptionalinputThe controlled value of the combobox's input
OptionalinvalidWhether the combobox is invalid
OptionalloopWhether to loop the keyboard navigation through the items
OptionalmultipleWhether to allow multiple selection.
Good to know: When multiple is true, the selectionBehavior is automatically set to clear.
It is recommended to render the selected items in a separate container.
OptionalnameThe name attribute of the combobox's input. Useful for form submission
OptionalnavigateFunction to navigate to the selected item
OptionalonFunction called when the focus is moved outside the component
OptionalonFunction called when an item is highlighted using the pointer or keyboard navigation.
OptionalonFunction called when the input's value changes
OptionalonFunction called when an interaction happens outside the component
OptionalonFunction called when the popup is opened
OptionalonFunction called when the pointer is pressed down outside the component
OptionalonFunction called when an item is selected
OptionalonFunction called when a new item is selected
OptionalopenThe controlled open state of the combobox
OptionalopenWhether to show the combobox when the input value changes
OptionalopenWhether to open the combobox popup on initial click on the input
OptionalopenWhether to open the combobox on arrow key press
OptionalplaceholderThe placeholder text of the combobox's input
OptionalpositioningThe positioning options to dynamically position the menu
OptionalreadWhether the combobox is readonly. This puts the combobox in a "non-editable" mode but the user can still interact with it
OptionalrequiredWhether the combobox is required
OptionalscrollFunction to scroll to a specific index
OptionalselectionThe behavior of the combobox input when an item is selected
replace: The selected item string is set as the input valueclear: The input value is clearedpreserve: The input value is preservedOptionaltranslationsSpecifies the localized strings that identifies the accessibility elements and their states
OptionalvalueThe controlled value of the combobox's selected items
Whether to allow typing custom values in the input