ant-design / ant-design/pro-components

🐛[BUG] EditableProTable 结合 proForm 使用,在表格头部插入数据时,导致其他数据丢失

Open
#6,572 4 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 描述

EditableProTable 结合 proForm 使用,在表格头部插入数据时,导致其他数据丢失
### 📷 复现步骤

### 🏞 期望结果

### 💻 复现代码

参考 [sandbox](https://codesandbox.io/s/yu-formitem-pei-he-forked-9end0b?file=/App.tsx)

### © 版本信息

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

### 🚑 其他信息

![423582ad2fd39a25492f4ef882c2d390](https://user-images.githubusercontent.com/45391763/217220407-c968031d-c307-4de1-8242-f3bb4198f772.gif)

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction and verify the EditableProTable plus proForm behavior when inserting a row at the top. Trace the affected table data flow from that example; done means inserting a top row no longer causes existing rows to disappear. No source file or test is named in the issue.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.