pro-components
pro-components copied to clipboard
🐛[BUG]ProFormText设置了help不生效
trafficstars
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
ProFormText设置了help属性并且也设置了rule校验,但是rule检验不通过时,help提示信息没有变成红色(之前的版本,我记得是可以的)
📷 复现步骤
🏞 期望结果
💻 复现代码
© 版本信息
- ProComponents 版本: @ant-design/pro-components 2.8.7
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]
🚑 其他信息
下面使用antd是正常的
<Form.Item name="username" label="UserName" help="用户名称不能为空" rules={[{ required: true }]}>
<Input />
</Form.Item>
antd正常的演示: