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
Copy file name to clipboardExpand all lines: components/select/index.en-US.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Select component to select value from options.
42
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 |
43
43
| firstActiveValue | Value of action option by default | string\|string\[]| - ||
44
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 ||
45
-
| labelInValue | whether to embed label in value, turn the format of value from `string` to `{key: string, label: vNodes}`| boolean | false ||
45
+
| 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 ||
0 commit comments