mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
update TreeSelect doc
This commit is contained in:
parent
83a02a6050
commit
21f375b7d7
@ -37,7 +37,7 @@ showCheckedStrategy | The way show selected item in box. __Default:__ just show
|
||||
treeDefaultExpandAll | Whether to expand all treeNodes by default | boolean | false
|
||||
treeDefaultExpandedKeys | Default expanded treeNodes | string[] | -
|
||||
treeCheckable | Whether to show checkbox on the treeNodes | boolean | false
|
||||
treeCheckStrictly | Whether to check nodes precisely(in the `checkable` mode), means parent and child nodes are not associated | boolean | false
|
||||
treeCheckStrictly | Whether to check nodes precisely (in the `checkable` mode), means parent and child nodes are not associated, and it will make `labelInValue` be true | boolean | false
|
||||
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
|
||||
treeNodeFilterProp | Will be used for filtering if `filterTreeNode` returns true | string | 'value'
|
||||
treeNodeLabelProp | Will render as content of select | string | 'title'
|
||||
|
@ -36,7 +36,7 @@ title: TreeSelect
|
||||
| treeDefaultExpandAll | 默认展开所有树节点 | boolean | false |
|
||||
| treeDefaultExpandedKeys | 默认展开的树节点 | string[] | - |
|
||||
| treeCheckable | 显示 checkbox | boolean | false |
|
||||
| treeCheckStrictly | checkable 状态下节点选择完全受控(父子节点选中状态不再关联)| boolean | false |
|
||||
| treeCheckStrictly | checkable 状态下节点选择完全受控(父子节点选中状态不再关联),会使得 `labelInValue` 强制为 true | boolean | false |
|
||||
| filterTreeNode | 是否根据输入项进行筛选,默认用 treeNodeFilterProp 的值作为要筛选的 TreeNode 的属性值 | boolean\|Function(inputValue: string, treeNode: TreeNode) (函数需要返回bool值) | Function |
|
||||
| treeNodeFilterProp | 输入项过滤对应的 treeNode 属性 | string | 'value' |
|
||||
| treeNodeLabelProp | 作为显示的 prop 设置 | string | 'title' |
|
||||
|
Loading…
Reference in New Issue
Block a user