allowClear |
Show clear button. |
boolean |
false |
autoClearSearchValue |
Whether the current search will be cleared on selecting an item. Only applies when mode is set to multiple or tags . |
boolean |
true |
autoFocus |
Get focus by default |
boolean |
false |
defaultActiveFirstOption |
Whether active first option by default |
boolean |
true |
defaultValue |
Initial selected option. |
string|string[] number|number[] |
- |
disabled |
Whether disabled select |
boolean |
false |
dropdownClassName |
className of dropdown menu |
string |
- |
dropdownMatchSelectWidth |
Whether dropdown's width is same with select. |
boolean |
true |
dropdownRender |
Customize dropdown content |
(menuNode: VNode, props) => VNode |
- |
dropdownStyle |
style of dropdown menu |
object |
- |
filterOption |
If true, filter options by input, if function, filter options against it. The function will receive two arguments, inputValue and option , if the function returns true , the option will be included in the filtered set; Otherwise, it will be excluded. |
boolean or function(inputValue, option) |
true |
firstActiveValue |
Value of action option by default |
string|string[] |
- |
getPopupContainer |
Parent Node which the selector should be rendered to. Default to body . When position issues happen, try to modify it into scrollable content and position it relative. |
function(triggerNode) |
() => document.body |
labelInValue |
whether to embed label in value, turn the format of value from string to {key: string, label: vNodes} |
boolean |
false |
maxTagCount |
Max tag count to show |
number |
- |
maxTagPlaceholder |
Placeholder for not showing tags |
slot/function(omittedValues) |
- |
maxTagTextLength |
Max text length to show |
number |
- |
mode |
Set mode of Select |
'default' | 'multiple' | 'tags' |
'default' |
notFoundContent |
Specify content to show when no result matches.. |
string|slot |
'Not Found' |
optionFilterProp |
Which prop value of option will be used for filter if filterOption is true |
string |
value |
optionLabelProp |
Which prop value of option will render as content of select. |
string |
value for combobox , children for other modes |
placeholder |
Placeholder of select |
string|slot |
- |
showSearch |
Whether show search input in single mode. |
boolean |
false |
showArrow |
Whether to show the drop-down arrow |
boolean |
true |
size |
Size of Select input. default large small |
string |
default |
suffixIcon |
The custom suffix icon |
VNode | slot |
- |
removeIcon |
The custom remove icon |
VNode | slot |
- |
clearIcon |
The custom clear icon |
VNode | slot |
- |
menuItemSelectedIcon |
The custom menuItemSelected icon |
VNode | slot |
- |
tokenSeparators |
Separator used to tokenize on tag/multiple mode |
string[] |
|
value(v-model) |
Current selected option. |
string|number|string[]|number[] |
- |
options |
Data of the selectOption, manual construction work is no longer needed if this property has been set |
array<{value, label, [disabled, key, title]}> |
[] |
defaultOpen |
Initial open state of dropdown |
boolean |
- |
open |
Controlled open state of dropdown |
boolean |
- |
loading |
indicate loading state |
Boolean |
false |