ant-design / ant-design/pro-components
🐛 [BUG]ProFormText设置了help不生效
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
ProFormText设置了help属性并且也设置了rule校验,但是rule检验不通过时,help提示信息没有变成红色(之前的版本,我记得是可以的)
### 📷 复现步骤 | Recurrence steps
### 🏞 期望结果 | Expected results
### 💻 复现代码 | Recurrence code
### © 版本信息
- Ant Design Pro 版本: @ant-design/pro-components 2.8.7
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]
### 🚑 其他信息
下面使用antd是正常的
```js
```
antd正常的演示:

Contributor guide
Research direction
Start with the ProFormText usage described in the issue, using @ant-design/pro-components 2.8.7, and compare it with the shown antd Form.Item example. Reproduce a failed required rule and trace the help rendering and validation behavior. Done means the help text becomes red when the rule fails, with a regression check for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100