Skip to content

🐛[BUG] 表格点击编辑后取消编辑报错 #9640

@jinxiangqiang

Description

@jinxiangqiang

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'setFieldsValue')
form.setFieldsValue(set({}, namePath, restoreRow));

📷 复现步骤

点击编辑,取消编辑,报错

🏞 期望结果

正确获取到form

💻 复现代码

https://procomponents.ant.design/components/table?tab=api&current=1&pageSize=5#valuetype---%E6%97%A5%E6%9C%9F%E7%B1%BB

© 版本信息

官网bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions