Props
Attributes
- Graph
-
- Supertypes
-
trait PropTypesclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
A function used to determine if two options' values are equal. By default, reference equality is used.
A function used to determine if two options' values are equal. By default, reference equality is used.
There is a performance impact when using the areOptionsEqual
prop (proportional to the number of options). Therefore, it's recommented to use the default reference equality comparison whenever possible.
Attributes
This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it following the specification.
This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it following the specification.
Attributes
If true
, the select element is focused during the first mount
If true
, the select element is focused during the first mount
Attributes
If true
, the select will be initially open.
If true
, the select will be initially open.
Attributes
The default selected value. Use when the component is not controlled.
The default selected value. Use when the component is not controlled.
Attributes
If true
, the select is disabled.
If true
, the select is disabled.
Attributes
A function used to convert the option label to a string. It's useful when labels are elements and need to be converted to plain text to enable navigation using character keys on a keyboard.
A function used to convert the option label to a string. It's useful when labels are elements and need to be converted to plain text to enable navigation using character keys on a keyboard.
Attributes
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.
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.
Attributes
id
attribute of the listbox element.
id
attribute of the listbox element.
Attributes
Controls the open state of the select's listbox.
Controls the open state of the select's listbox.
Attributes
If true
, selecting multiple values is allowed. This affects the type of the value
, defaultValue
, and onChange
props.
If true
, selecting multiple values is allowed. This affects the type of the value
, defaultValue
, and onChange
props.
Attributes
Name of the element. For example used by the server to identify the fields in form submits. If the name is provided, the component will render a hidden input element that can be submitted to a server.
Name of the element. For example used by the server to identify the fields in form submits. If the name is provided, the component will render a hidden input element that can be submitted to a server.
Attributes
Callback fired when an option is selected.
Callback fired when an option is selected.
Attributes
Callback fired when the component requests to be opened. Use in controlled mode (see listboxOpen).
Callback fired when the component requests to be opened. Use in controlled mode (see listboxOpen).
Attributes
Text to show when there is no selected value.
Text to show when there is no selected value.
Attributes
Function that customizes the rendering of the selected value.
Function that customizes the rendering of the selected value.
Attributes
If true
, the Select cannot be empty when submitting form.
If true
, the Select cannot be empty when submitting form.
Attributes
The props used for each slot inside the Input.
The props used for each slot inside the Input.
Attributes
The components used for each slot inside the Select. Either a string to use a HTML element or a component.
The components used for each slot inside the Select. Either a string to use a HTML element or a component.
Attributes
The selected value. Set to null
to deselect all options.
The selected value. Set to null
to deselect all options.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes