pro-components
pro-components copied to clipboard
🐛[BUG]EditableProTable在filterType为light时,formItemProps.rules会生效导致无法查询
trafficstars
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
EditableProTable 在设置 filterType: "light" 时,查询筛选时被应用了 formItemProps.rules,导致无法正常查询。
📷 复现步骤
如果 filterType 不设置为 light,则没有这个问题。
🏞 期望结果
期望 rule 不会生效。
💻 复现代码
https://codesandbox.io/p/sandbox/antd-procomponents-table-qm6x4c
© 版本信息
- ProComponents 版本: 2.8.3
- antd 版本:5.24.7
- 浏览器环境
- 开发环境 [e.g. mac OS]