ant-design / ant-design/pro-components
🧐[问题] ProForm + EditableProtable里面的input输入框在校验失败时没有error状态
- 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
### 🧐 问题描述
EditableProtable的input输入框我设置了必填,可以看第一张截图,第一个input输入框没有用renderFormItem,可以正常展示error状态,第二个input输入框用了 renderFormItem返回一个输入框, 在校验失败的时候,输入框不会变红,请问大佬们知道是什么原因吗
### 💻 示例代码
### 🚑 其他信息



Contributor guide
Research direction
Start by reviewing the ProForm and EditableProTable renderFormItem path described in the issue, focusing on how the returned input receives validation state. Reproduce the required-field failure with and without renderFormItem, then verify that both inputs display the error state consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100