OptionalallowsOptionalallowsWhether the combo box allows the menu to be open when the collection is empty.
Optionalaria-Identifies the element (or elements) that describes the object.
Optionalaria-Identifies the element (or elements) that provide a detailed, extended description for the object.
Optionalaria-Defines a string value that labels the current element.
Optionalaria-Identifies the element (or elements) that labels the current element.
OptionalautoWhether the element should receive focus on render.
OptionalchildrenThe children of the component. A function may be provided to alter the children based on component state.
OptionalclassOptionaldefaultThe filter function used to determine if a option should be included in the combo box list.
OptionaldefaultThe default value of the ComboBox input (uncontrolled).
OptionaldefaultThe list of ComboBox items (uncontrolled).
OptionaldefaultThe initial selected key in the collection (uncontrolled).
OptionaldefaultThe default value (uncontrolled).
OptionaldescriptionOptionaldirOptionaldisabledThe item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with.
OptionalformThe <form> element to associate the input with.
The value of this attribute must be the id of a <form> in the same document.
See MDN.
OptionalformWhether the text or key of the selected item is submitted as part of an HTML form.
When allowsCustomValue is true, this option does not apply and the text is always submitted.
OptionalhiddenOptionaliconAn icon to render before the input
OptionalidThe element's unique identifier. See MDN.
OptionalinertOptionalinputThe value of the ComboBox input (controlled).
OptionalisWhether the input is disabled.
OptionalisWhether the input value is invalid.
OptionalisWhether the input can be selected but not changed by the user.
OptionalisOptionalitemsThe list of ComboBox items (controlled).
OptionallabelOptionallangOptionalmenuThe interaction required to display the ComboBox menu.
OptionalnameThe name of the input element, used when submitting an HTML form. See MDN.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element loses focus.
OptionalonHandler that is called when the value changes.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element receives focus.
OptionalonHandler that is called when the element's focus status changes.
OptionalonOptionalonOptionalonHandler that is called when the ComboBox input value changes.
OptionalonHandler that is called when a key is pressed.
OptionalonHandler that is called when a key is released.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonMethod 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.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the selection changes.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionaloptionsThe options of the combobox field. Pass flat options, option sections for grouped display, or a mix of both in the same array.
OptionalplaceholderPlaceholder text for the input.
OptionalrenderOverrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components.
Requirements:
<button> is expected, you cannot render an <a>).OptionalsecondaryOptionalselectedThe currently selected key in the collection (controlled).
OptionalselectionWhether single or multiple selection is enabled.
OptionalshouldWhether keyboard navigation is circular.
OptionalsizeThe size of the combobox field
OptionalslotA slot name for the component. Slots allow the component to receive props from a parent component.
An explicit null value indicates that the local props completely override all props received from a parent.
OptionalstyleThe inline style for the element. A function may be provided to compute the style based on component state.
OptionaltranslateOptionalvalidateA function that returns an error message if a given value is invalid.
Validation errors are displayed to the user when the form is submitted
if validationBehavior="native". For realtime validation, use the isInvalid
prop instead.
OptionalvalidationWhether to use native HTML form validation to prevent form submission when the value is missing or invalid, or mark the field as required or invalid via ARIA.
OptionalvalueThe current value (controlled).
Whether the ComboBox allows a non-item matching input value to be set.