ant-design / ant-design/pro-components

ProFormList嵌套EditableTable,怎么设置editableKeys🧐[问题]

Open
#6,508 3 comments 0 reactions 0 assignees View on GitHub
🎖️ featrue table
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

我需要在`ProFormList`中实时编辑`EditableTable`中的元素,下图这样设置可以正常显示,但是使用`setFieldsValue`赋值的时候界面不会修改
![image](https://user-images.githubusercontent.com/22706176/212039463-4c7ff398-c809-4831-b151-e46b8d41d89d.png)

如果把`EditableTable`放在`listDom`中 界面就不能正常编辑 使用setFieldsValue赋值的时候界面会正常修改

Contributor guide

Open the contributing guide

Research direction

Reproduce the nested ProFormList and EditableTable setup described in the issue, comparing the configuration outside listDom with the configuration inside it. Investigate how setFieldsValue and editableKeys interact in both arrangements; done means values update visibly while the table remains editable in the supported configuration.

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.