Closed vobile-wangzhenfeng closed 1 month ago
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
ProTable的高级筛选栏在search的filterType是light时,renderFormItem是Select组件并开启多选模式,在选择多个item后,点击底部清除按钮,会使Select出现一个空的Tag。
https://codesandbox.io/p/sandbox/cha-xun-biao-ge-forked-r2m4wd?file=%2FApp.tsx%3A106%2C40
备注:Select组件自带的clear按钮是能正常实现清除功能的
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
ProTable的高级筛选栏在search的filterType是light时,renderFormItem是Select组件并开启多选模式,在选择多个item后,点击底部清除按钮,会使Select出现一个空的Tag。
📷 复现步骤
https://codesandbox.io/p/sandbox/cha-xun-biao-ge-forked-r2m4wd?file=%2FApp.tsx%3A106%2C40
备注:Select组件自带的clear按钮是能正常实现清除功能的
🏞 期望结果
💻 复现代码
https://codesandbox.io/p/sandbox/cha-xun-biao-ge-forked-r2m4wd?file=%2FApp.tsx%3A106%2C40
© 版本信息
🚑 其他信息