ant-design / ant-design/pro-components
🧐[问题]《EditableProTable》组件中《与 FormItem 配合》
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🧐 问题描述
点击编辑按钮,出现多行进入编辑
### 💻 示例代码
[FormItem配合使用](https://procomponents.ant.design/components/editable-table#%E4%B8%8E-formitem-%E9%85%8D%E5%90%88)
### 复现步骤
1、copy[FormItem配合使用](https://procomponents.ant.design/components/editable-table#%E4%B8%8E-formitem-%E9%85%8D%E5%90%88)代码
2、将defaultData数组中的两个id变更为'1'和'2'
3、页面点击编辑第一行
4、结果第二行也进入了编辑状态
### 结果图片
Contributor guide
Research direction
Start with the EditableProTable “FormItem usage” example linked in the issue. Reproduce the problem by changing the two defaultData IDs to '1' and '2', then clicking edit on the first row. Done means only the selected first row enters edit mode, while the second row remains unchanged.
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
- Mostly clear
- Newbie friendliness
- 45/100