ant-design / pro-components

🏆 Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.02k stars 1.28k forks source link

🐛[BUG] 轻量表单控件 Select(多选), 单击选中后通过再点击取消, 此时 label 不为 未选状态 #8219

Closed q269384828 closed 1 month ago

q269384828 commented 1 month ago

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

轻量表单控件 Select(多选), 单击选中后通过再点击取消, 此时 label 不为 未选状态

📷 复现步骤

codesandbox

  1. LightFilter 下的 ProFormSelect
  2. 选几个区域
  3. 取消选择 (不要点清空) -->

🏞 期望结果

  1. 期望是组件未选择的状态, 即 白底的那个状态

💻 复现代码

© 版本信息

🚑 其他信息

github-actions[bot] commented 1 month ago

当前 Issue 未检测到标题,请规范填写,谢谢!

The title of the current issue is not detected, please fill in according to the specifications, thank you!