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

Select 在有已选项时,autoComplete 不显示已选项 #518

Merged
merged 1 commit into from Apr 2, 2020
Merged

Select 在有已选项时,autoComplete 不显示已选项 #518

merged 1 commit into from Apr 2, 2020

Conversation

RickCole21
Copy link
Contributor

Bug场景

之前当配置multiple+autoComplete,选中部分项之后,输入新的关键字搜索新的options时,也显示已选择的options

Bug原因

重新拉取autoComplete后,会把已选项新拉取的项进行merge

解决方案

保持merge,因为需要映射input中的label值,只在已选项中添加hidden:true,并在select输出显示时做次过滤

@2betop 2betop merged commit 5439bc6 into baidu:master Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants