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`\|`function(inputValue, option)`| true ||
43
43
| 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 |
44
-
| firstActiveValue | Value of action option by default | string\|string\[]| - ||
44
+
| firstActiveValue | Value of action option by default | string\|string\[]| - ||
45
45
| 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 ||
46
46
| labelInValue | whether to embed label in value, turn the format of value from `string` to `{key: string, label: vNodes, originLabel: any}`, originLabel (3.1) maintains the original type. If the node is constructed through a-select-option children, the value is a function (the default slot of a-select-option) | boolean | false ||
| optionFilterProp | Which prop value of option will be used for filter if filterOption is true | string | value ||
58
58
| optionLabelProp | Which prop value of option will render as content of select. | string |`children`\|`label`(when use options) ||
59
-
| options | Data of the selectOption, manual construction work is no longer needed if this property has been set |array<{value, label, [disabled, key, title]}> |\[]||
59
+
| options | Data of the selectOption, manual construction work is no longer needed if this property has been set |Array<{value, label, [disabled, key, title]}> |\[]||
@@ -78,7 +78,7 @@ Select component to select value from options.
78
78
| Events Name | Description | Arguments |
79
79
| --- | --- | --- |
80
80
| blur | Called when blur | function |
81
-
| change | Called when select an option or input value change, or value of input is changed in combobox mode | function(value, option:Option/Array<Option>) |
81
+
| change | Called when select an option or input value change, or value of input is changed in combobox mode | function(value, option:Option\|Array<Option>) |
82
82
| deselect | Called when a option is deselected, the params are option's value (or key) . only called for multiple or tags, effective in multiple or tags mode only. | function(value, option:Option) |
83
83
| dropdownVisibleChange | Call when dropdown open | function(open) |
0 commit comments