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

[SearchSelect <搜索选择器>]: 限制选项个数逻辑 #721

Closed
gssggssg opened this issue Mar 29, 2022 · 1 comment
Closed

[SearchSelect <搜索选择器>]: 限制选项个数逻辑 #721

gssggssg opened this issue Mar 29, 2022 · 1 comment

Comments

@gssggssg
Copy link
Contributor

描述错误

当选择项数已经是限制选项个数时,选择器就会处于被禁用状态

错误复现

重现行为的步骤:

  1. 转到 https://uiwjs.github.io/#/components/search-select
  2. 使用 限制选项个数
  3. 搜索选择两项
  4. 选择框被禁用

预期行为

能正确限制

截图

处于禁止状态,不能再次弹出下拉选择框
image

桌面(请填写以下信息):

  • UIW:4.16.1
  • 操作系统:win10
  • 浏览器:Chrome
  • 版本和构建:99.0.4844.82(正式版本) (64 位)
@nullptr-z
Copy link
Collaborator

nullptr-z commented Mar 29, 2022

@gssggssg 将v4.16.3中添加 valueAmount参数,用于限制value长度 #722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants