ant-design / ant-design/pro-components

🧐[问题] ProForm内嵌一个EditableProTable后,表格里面渲染一个复选框选中时不会更新状态

Open
#8,346 3 comments 0 reactions 0 assignees View on GitHub
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

### 🧐 问题描述
当我在ProForm里面用一个EditableProtable后,我的表格会有一个复选框,但是当我勾选或者取消复选框后,form上面绑定的dataSource都是不会变的,input和select没有问题,请问时怎么回事,求大大们帮忙解答一夏

![image](https://github.com/ant-design/pro-components/assets/45879273/153bb641-9ff4-485a-bdcb-8ab0ef634606)
![image](https://github.com/ant-design/pro-components/assets/45879273/c952ca89-3999-43d0-b605-413eaf4c126d)
![image](https://github.com/ant-design/pro-components/assets/45879273/14012ad7-fd6b-4d7b-9a06-91f8768234b0)

Contributor guide

Open the contributing guide

Research direction

The report concerns a checkbox rendered inside an EditableProTable nested in ProForm, but it names no source file, test, or reproducible code. Start by reducing the described setup to a minimal reproduction and trace how checkbox changes reach the ProForm-bound dataSource. Done means checking and unchecking the box updates that dataSource consistently with the existing input and select fields.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.