Multi-Select component with search or clear only
Multi-Select with search & clear
Select.Multi
component props
Name | Type | Usage |
---|
.. | | All div element props |
options | array | Array of option objects containing key & label |
value | array | Array of selected option objects containing key & label |
onChange | function | |
placeholder | string | |
onSearch | function | Shows search box only if search function is passed |
clearable | boolean | |
disabled | boolean | |
Select.search
function arguments
Name | Type | Usage |
---|
search | string | Searched text |
options | array | Select input field options |
caseSensitive | boolean | (Default: false ) |
A basic text based Search
method is provied with Select
component. For calling API or any other functionality, search method need to be implemented.