ant-design / ant-design/pro-components

🐛[BUG]`ProFormList`在第一次提交时没有触发`transform`

Open
#8,700 4 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

提问前先看看:

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

### 🐛 bug 描述

我留意到在 #5914 中提到`ProFormList`已经支持了`transform`,但发现在第一次提交时没有触发`transform`

### 📷 复现步骤

[复现链接](https://stackblitz.com/edit/vitejs-vite-osr618?file=src%2FApp.tsx),可以看到第一次点击提交时控制台没有打印`transform`

### © 版本信息

- "@ant-design/pro-form": "^2.29.0"
- 浏览器环境 Chrome 126.0.0.0

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start with the linked StackBlitz reproduction and inspect the ProFormList submission flow in @ant-design/pro-form around transform handling. Confirm that the first submit invokes transform and produces the expected console output, then verify the behavior on later submissions as a regression check.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.