Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set initialValues alongside values during onSuccess #10825

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JarrodMFlesch
Copy link
Contributor

What?

Initial values should be set from the server when acceptValues is true.

Why?

This is needed since we take the values from the server after a successful form submission.

How?

Add initialValue into serverPropsToAccept when acceptValues is true.

Fixes #10820

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Form initialValue does not get reset upon form submission
1 participant