-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TreeSelect多选模式下进行搜索会把已选项清掉 #2393
Comments
升级到 rc-tree-select@1.7.9 |
Closed
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
本地环境
antd版本:0.12.13
操作系统:ubuntu14.04
浏览器:chrome50.0.2661.102
你做了什么?
使用TreeSelect组件进行多选。部分属性如下:
multiple: true,
treeCheckable:true
searchPlaceholder: '请选择',
placeholder: '请选择',
treeNodeFilterProp:'label',
例如选项中共有四项,label分别为 bb ab bc bd ac 。当前状态下已经选中bb,ac两项。此时输入关键字b进行联想,弹出联想框后再选一项‘bd’,发现此时已选项ac会被清掉。也就是说进行联想时,也会对已选项进行过滤。
你期待的结果是:
输入关键字进行联想,不会对已选项再次过滤。
实际上的结果:
输入关键字进行联想,同时会对已选项进行过滤。
可重现的在线演示
麻烦看一下这个问题,谢谢~
The text was updated successfully, but these errors were encountered: