Select component to select value from options.
A dropdown menu for displaying choices - an elegant alternative to the native <select> element.
Utilizing Radio is recommended when there are fewer total options (less than 5).
Multiple selection, selecting from existing items (scroll the menu).
Coordinating the selection of provinces and cities is a common use case and demonstrates how selection can be coordinated.
Using the Cascader component is strongly recommended instead as it is more flexible and capable.
As a default behavior, the onChange callback can only get the value of the selected item. The labelInValue prop can be used to get the label property of the selected item.
The label of the selected item will be packed as an object for passing to the onChange callback.
A complete multiple select sample with remote search, debounce fetch, ajax callback order flow, and loading state.
Hide already selected options in the dropdown.
Search the options while expanded.
The height of the input field for the select defaults to 32px. If size is set to large, the height will be 40px, and if set to small, 24px.
Using OptGroup to group the options.
Try to copy Lucy,Jack to the input. Only available in tags and multiple mode.
Customize the dropdown menu via dropdownRender.