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

feat(select): support delete tag by keyboard backspace #241

Merged
merged 3 commits into from
Jan 19, 2022

Conversation

zhangbocodes
Copy link
Contributor

issue #206
新增一个feat,在multiple+filterable的情况下支持通过backspace删除tag
另外multiple+filterable的时候,初始化会显示searchValue为第一个tag的value,这个是by design么?感觉应该和placeholder逻辑一样,当multiple的时候就不默认带入searchValue了

@carolin913
Copy link
Collaborator

更新了单测,需npm run test:update更新下snapshot

src/select/base/Select.tsx Outdated Show resolved Hide resolved
@honkinglin
Copy link
Collaborator

看起来好像snapshot还是没更新?

@uyarn uyarn merged commit 01cde96 into Tencent:develop Jan 19, 2022
uyarn pushed a commit that referenced this pull request Apr 18, 2022
* feat(select): support delete tag by keyboard backspace

#206

* test: update test snapshot

* test: update ssr test snapshot

Co-authored-by: zhangbo35 <zhangbo35@baidu.com>
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.

4 participants