ant-design / ant-design/pro-components
🐛[BUG] EditableProTable中,onValueChange钩子函数的record字段只能获取最外层数据的id,嵌套多层数据时,编辑内层数据,无法获取在onValueChange中获取当前行的id
- 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 描述
### 📷 复现步骤


onValuesChange: (record, recordList) => {
console.log({ record });
}
### 🏞 期望结果
### 💻 复现代码
### © 版本信息
- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]
### 🚑 其他信息
Contributor guide
Research direction
Start by locating the EditableProTable entry point and the onValuesChange callback behavior, then reproduce editing an inner row in nested data using the supplied callback snippet and screenshots. Done means the callback receives the current nested row's id rather than only the outermost id. The issue provides no file, test, runnable reproduction, or version details.
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
- 35/100