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中的InputTag添加一个重置清空操作 #6638

Open
3 tasks done
kongmingLatern opened this issue Dec 23, 2024 · 0 comments
Open
3 tasks done

希望能给Select中的InputTag添加一个重置清空操作 #6638

kongmingLatern opened this issue Dec 23, 2024 · 0 comments
Labels
bug Something isn't working feature request New feature or request

Comments

@kongmingLatern
Copy link

问题的清晰而简明的描述

问题:当设置Select 中的 tag: true, filter: true,multiple: true 属性时

  1. 无法一键清空所有已经确定的标签,
  2. 对这个组件进行重置操作时(设置值为null),虽然值已经被清空了,但是后续继续输入清空前的值会有问题(无法形成标签)

建议的解决方案

希望作者能够给这个组件添加一个一键清空操作(比如设置clearable: true)或对外暴露出清空的函数等

备选方案

No response

附加上下文

操作步骤

  1. 输入1,回车
  2. 点击Reset
  3. 再输入1,回车

期望值

期望1能够继续变成标签形式

当前情况

无法形成标签,怀疑内部组件没有清除原先的值

最小实现

验证

  • 阅读 贡献指南
  • 阅读 文档
  • 检查是否已经存在请求相同功能的问题,以避免创建重复的问题。
@kongmingLatern kongmingLatern added the feature request New feature or request label Dec 23, 2024
@Zheng-Changfu Zheng-Changfu added the bug Something isn't working label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants