pro-components
pro-components copied to clipboard
🐛[BUG]ProTable search回显错误
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
将 ProTable 的search.filterType 改为 light.
-
级联选择器、树形选择器 选择值之后不会自动关闭选项
-
级联选择器、树形选择器 选择值之后 回显的为 value,并不是 对应的 label
📷 复现步骤
https://codesandbox.io/s/cool-gauss-c2hv8y?file=/App.tsx:3425-3444
🏞 期望结果
- 级联选择器、树形选择器 选择值之后自动关闭选项
- 级联选择器、树形选择器 选择值之后回显对应的 label
💻 复现代码
https://procomponents.ant.design/components/table?tab=api¤t=1&pageSize=5#valuetype---%E9%80%89%E6%8B%A9%E7%B1%BB
就是官网例子,将 search.filterType 改为 light 即可
© 版本信息
- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]