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
提问前先看看:
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是正常的
```js
```
antd正常的演示:

Contributor guide
Research direction
Start at the ProFormText implementation and compare its help and rule-validation behavior with the provided antd Form.Item example. Reproduce the issue using @ant-design/pro-components 2.8.7 with help and a required rule, then verify that the help message changes to the validation-error styling when the rule fails.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100