ant-design / ant-design/pro-components

🐛[BUG] 3.x中ProForm的onValuesChange,变化的值不包含空值了,2.x和啊,antd6.x是正常的

Open
#9,540 6 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 描述

3.x中ProForm的onValuesChange,变化的值不包含空值了,2.x和啊,antd6.x是正常的

导致项目中所有依赖onValuesChange的模块都需要修改

Contributor guide

Open the contributing guide

Research direction

Start at ProForm's onValuesChange entry point and reproduce a change that clears a field in the 3.x implementation. Compare the callback payload with the reported 2.x and antd 6.x behavior; done means empty values are included again and the behavior is covered by 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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.