ant-design / ant-design/pro-components

🐛[BUG]在ProTable中使用valueType: 'money',开启编辑模式时候报错

Open
#8,698 0 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

在tablePro使用金额组件,开启一行编辑模式时候,页面报错

📷 复现步骤 | Recurrence steps
![image](https://github.com/user-attachments/assets/d779592d-c1b5-439d-86e3-a2b92d809d87)
![image](https://github.com/user-attachments/assets/a52512d3-3a7f-4a32-a79c-18107a694977)
使用 "antd": "5.20.2",版本的有问题,使用 "antd": "5.16.5",没有问题

🏞 期望结果 | Expected results
![image](https://github.com/user-attachments/assets/80ffca52-e142-42f0-b159-39a22057ad68)

💻 复现代码 | Recurrence code
© 版本信息
Ant Design Pro 版本: [e.g. 2.7.15]
antd 版本: [e.g. 5.20.2]
umi 版本
浏览器环境
开发环境 [e.g. mac OS]
🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ProTable/tablePro case using valueType: 'money' with one-row editing under antd 5.20.2, then compare it with antd 5.16.5. The issue provides screenshots but no reproduction code or error details, so confirm the failing behavior and define done as restoring the expected editable money field without the reported page error.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.