Skip to content
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

Closed
ljy-xian opened this issue Jul 15, 2016 · 2 comments
Closed

TreeSelect多选模式下进行搜索会把已选项清掉 #2393

ljy-xian opened this issue Jul 15, 2016 · 2 comments

Comments

@ljy-xian
Copy link

本地环境

antd版本:0.12.13
操作系统:ubuntu14.04
浏览器:chrome50.0.2661.102

  • antd 版本:
  • 操作系统及其版本:
  • 浏览器及其版本:

你做了什么?

使用TreeSelect组件进行多选。部分属性如下:
multiple: true,
treeCheckable:true
searchPlaceholder: '请选择',
placeholder: '请选择',
treeNodeFilterProp:'label',
例如选项中共有四项,label分别为 bb ab bc bd ac 。当前状态下已经选中bb,ac两项。此时输入关键字b进行联想,弹出联想框后再选一项‘bd’,发现此时已选项ac会被清掉。也就是说进行联想时,也会对已选项进行过滤。

你期待的结果是:

输入关键字进行联想,不会对已选项再次过滤。

实际上的结果:

输入关键字进行联想,同时会对已选项进行过滤。

可重现的在线演示

麻烦看一下这个问题,谢谢~

warmhug added a commit that referenced this issue Jul 23, 2016
@warmhug
Copy link
Contributor

warmhug commented Jul 23, 2016

升级到 rc-tree-select@1.7.9

afc163 pushed a commit that referenced this issue Jul 24, 2016
Conflicts:
	package.json
@afc163 afc163 closed this as completed Jul 24, 2016
@lock
Copy link

lock bot commented May 4, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants