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/tree-select/index.en-US.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Tree selection control.
23
23
| dropdownClassName | className of dropdown menu | string | - |||
24
24
| dropdownMatchSelectWidth | Determine whether the dropdown menu and the select input are the same width. Default set `min-width` same as input. Will ignore when value less than select width. `false` will disable virtual scroll | boolean \| number | true |||
25
25
| dropdownStyle | To set the style of the dropdown menu | object | - |||
26
-
| fieldNames | Replace the title,value, key and children fields in treeNode with the corresponding fields in treeData | object | {children:'children', label:'title', key:'key', value: 'value' } || 3.0.0 |
26
+
| fieldNames | Replace the label,value, key and children fields in treeNode with the corresponding fields in treeData | object | {children:'children', label:'title', key:'key', value: 'value' } || 3.0.0 |
27
27
| filterTreeNode | Whether to filter treeNodes by input value. The value of `treeNodeFilterProp` is used for filtering by default. | boolean\|Function(inputValue: string, treeNode: TreeNode) (should return boolean) | Function |||
28
28
| getPopupContainer | To set the container of the dropdown menu. The default is to create a `div` element in `body`, you can reset it to the scrolling area and make a relative reposition. | Function(triggerNode) | () => document.body |||
29
29
| labelInValue | whether to embed label in value, turn the format of value from `string` to `{value: string, label: VNode, halfChecked: string[]}`| boolean | false |||
@@ -34,7 +34,7 @@ Tree selection control.
34
34
| multiple | Support multiple or not, will be `true` when enable `treeCheckable`. | boolean | false |||
35
35
| notFoundContent | Specify content to show when no result matches | slot |`Not Found`|||
36
36
| placeholder | Placeholder of the select input | string\|slot | - |||
37
-
| replaceFields | Replace the title,value, key and children fields in treeNode with the corresponding fields in treeData | object | { children:'children', label:'title', value: 'value' } || 1.6.1 (3.0.0 deprecated) |
37
+
| replaceFields | Replace the label,value, key and children fields in treeNode with the corresponding fields in treeData | object | { children:'children', label:'title', value: 'value' } || 1.6.1 (3.0.0 deprecated) |
38
38
| searchPlaceholder | Placeholder of the search input | string\|slot | - |||
39
39
| searchValue(v-model) | work with `search` event to make search value controlled. | string | - |||
40
40
| showCheckedStrategy | The way show selected item in box. **Default:** just show child nodes. **`TreeSelect.SHOW_ALL`:** show all checked treeNodes (include parent treeNode). **`TreeSelect.SHOW_PARENT`:** show checked treeNodes (just show parent treeNode). | enum { TreeSelect.SHOW_ALL, TreeSelect.SHOW_PARENT, TreeSelect.SHOW_CHILD } | TreeSelect.SHOW_CHILD |||
0 commit comments