UseSelectParameters
Properties
A function used to determine if two options' values are equal. By default, reference equality is used.
The name of the component using useSelect. For debugging purposes.
If true, the select will be open by default.
The default selected value. Use when the component is not controlled.
A function used to convert the option label to a string. This is useful when labels are elements and need to be converted to plain text to enable keyboard navigation with character keys.
A function to convert the currently selected value to a string. Used to set a value of a hidden input associated with the select, so that the selected value can be posted with a form.
The ref of the listbox element.
Callback fired when an option is highlighted.
Callback fired when the listbox is opened or closed.