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
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,14 @@ 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
+
| placement | The position where the selection box pops up |`bottomLeft``bottomRight``topLeft``topRight`| bottomLeft | 3.3.0 |
37
38
| 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) |
38
39
| searchPlaceholder | Placeholder of the search input | string\|slot | - |||
39
40
| searchValue(v-model) | work with `search` event to make search value controlled. | string | - |||
40
41
| 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 |||
41
42
| showSearch | Whether to display a search input in the dropdown menu(valid only in the single mode) | boolean | false |||
42
43
| size | To set the size of the select input, options: `large``small`| string | 'default' |||
44
+
| status | Set validation status | 'error' \| 'warning' | - | 3.3.0 |
| treeIcon | Shows the icon before a TreeNode's title. There is no default style; you must set a custom style for it if set to `true`| boolean | false |||
56
+
| treeLoadedKeys | (Controlled) Set loaded tree nodes, work with `loadData` only | string[]|[]| 3.3.0 |
54
57
| treeLine | Show the line. Ref [Tree - showLine](/components/tree/#components-tree-demo-line)| boolean \| object | false | 3.0 ||
55
58
| treeNodeFilterProp | Will be used for filtering if `filterTreeNode` returns true | string | 'value' |||
56
59
| treeNodeLabelProp | Will render as content of select | string | 'title' |||
0 commit comments