ant-design / ant-design/pro-components

🐛[BUG]EditableTable自定义renderFormItem,表单校验状态不显示

Open
#5,942 7 comments 0 reactions 0 assignees View on GitHub
⭕️ bug AI Reply table
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 描述

![image](https://user-images.githubusercontent.com/22436151/190539626-893e2f05-714d-45ff-8fcb-ec6dd164d616.png)

默认表单是有校验状态显示的,如上图,自定义renderFormItem后状态消失。

### 📷 复现步骤

image

### 🏞 期望结果

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start at the EditableTable renderFormItem path and compare the default form rendering with a custom renderFormItem implementation. Use the attached reproduction screenshots to confirm the missing validation state; done means the validation status remains visible for custom-rendered form items.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.