You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 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 ||
42
+
| filterSort | Sort function for search options sorting, see [Array.sort](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)'s compareFunction | (optionA: Option, optionB: Option) => number | - | 3.0 |
42
43
| firstActiveValue | Value of action option by default | string\|string\[]| - ||
43
44
| 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 ||
44
45
| 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 | - ||
47
49
| maxTagPlaceholder | Placeholder for not showing tags | slot/function(omittedValues) | - ||
@@ -64,6 +66,7 @@ Select component to select value from options.
64
66
| tagRender | Customize tag render, only applies when `mode` is set to `multiple` or `tags`| slot \| (props) => any | - ||
65
67
| tokenSeparators | Separator used to tokenize on tag/multiple mode | string\[]|||
66
68
| value(v-model) | Current selected option. | string\|number\|string\[]\|number\[]| - ||
69
+
| virtual | Disable virtual scroll when set to false | boolean | true | 3.0 |
67
70
68
71
> Note, if you find that the drop-down menu scrolls with the page, or you need to trigger Select in other popup layers, please try to use `getPopupContainer={triggerNode => triggerNode.parentElement}` to fix the drop-down popup rendering node in the parent element of the trigger .
0 commit comments