Skip to content

🐛 [BUG]ProFormText设置了help不生效 #11457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
semmywong opened this issue Apr 25, 2025 · 0 comments
Open

🐛 [BUG]ProFormText设置了help不生效 #11457

semmywong opened this issue Apr 25, 2025 · 0 comments

Comments

@semmywong
Copy link

semmywong commented Apr 25, 2025

🐛 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是正常的

 <Form.Item name="username" label="UserName" help="用户名称不能为空" rules={[{ required: true }]}>
        <Input />
      </Form.Item>

antd正常的演示:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant