Ant-design: TreeSelect树选择,输入项过滤对应的 treeNode 属性功能

Created on 27 Jun 2017  ·  3Comments  ·  Source: ant-design/ant-design

TreeSelect树选择,输入项过滤对应的 treeNode 属性功能,能否跟AutoComplete自动完成增加相同的功能filterOption不区分大小写搜索

Invalid

Most helpful comment

找到了代码如下:filterTreeNode={(inputValue, treeNode) => treeNode.props.title.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1}

All 3 comments

It will be better to write your issue/comment in English, so more people can understand you.
And this means that more people can help you or benefit from your issue/comment.
See: https://github.com/ant-design/ant-design/issues/4897

Hello @chendonghai, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

找到了代码如下:filterTreeNode={(inputValue, treeNode) => treeNode.props.title.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1}

Was this page helpful?
0 / 5 - 0 ratings