ant-design / ant-design/pro-components

🧐[问题]StepsForm 其中一个步骤组件重新渲染了 其余步骤得form表单数据也被重置了

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

![image](https://github.com/user-attachments/assets/8509d72b-51ad-4801-829f-acf06f6e3b7e)
步骤一填写数据信息 点击下一步 把步骤一填写得数据传给步骤二 步骤二点击上一步 步骤一得数据被重置了

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior in StepsForm: enter data in step one, move to step two, then return to step one. Trace the rerender and form-state handling to determine why the earlier values reset; done means step-one data remains after navigating back.

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.