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

[Feature Request]Select组件新增reserve-keyword属性 #1155

Open
szcr2012git opened this issue Jan 22, 2024 · 0 comments
Open

[Feature Request]Select组件新增reserve-keyword属性 #1155

szcr2012git opened this issue Jan 22, 2024 · 0 comments

Comments

@szcr2012git
Copy link

What problem does this feature solve?

场景:使用Select组件(开启多选及搜索)且选择项很多的时候。输入搜索关键字,选中一个选择项后,搜索关键字被清空,需再次输入关键字。

带来的问题:用户需反复输入关键字,每次只能触发选择一个选项,增加用户操作次数,体验不好。且其他竞品组件库基本有解决方案。

What does the proposed API look like?

Select组件新增reserve-keyword属性(参数为Boolean,默认为false):当多选且可搜索时,支持配置在选中一个选项后是否保留当前的搜索关键词

如:
<Select
v-model="model13"
filterable
reserve-keyword
multiple
{{option.label}}

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

No branches or pull requests

1 participant