ant-design / ant-design/pro-components

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

Open
#9,618 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

### 🐛 bug 描述

在tablePro使用金额组件,开启一行编辑模式时候,页面报错
### 📷 复现步骤 | Recurrence steps

![image](https://github.com/user-attachments/assets/e025f8ba-cea7-463b-97d4-594058b3e7e4)
![image](https://github.com/user-attachments/assets/cf1e8fe6-6983-42a6-82e9-e91b12a73f41)
使用 "antd": "5.20.2",版本的有问题,使用 "antd": "5.16.5",没有问题

### 🏞 期望结果 | Expected results

![image](https://github.com/user-attachments/assets/4bb8d01b-0ceb-42fc-8ce2-2d2e09d9a7f1)

### 💻 复现代码 | 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 one-row edit flow with valueType: 'money' using antd 5.20.2, then compare it with 5.16.5 as reported. Confirm the error shown in the screenshots and verify that editing the money field completes without the error while preserving the expected result.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.