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: reset collection's pristine when values has to not be reset #223

Merged

Conversation

HugoPerard
Copy link
Member

BUG

There is an issue with the collection's pristine state when resetting form but not its values, that doesn't reset the pristine state.

For exemple, making

form.reset({ exclude: ["values"] })

Copy link

vercel bot commented Aug 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
formiz-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2024 8:31am
formiz-examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2024 8:31am

@HugoPerard HugoPerard requested a review from DecampsRenan August 8, 2024 08:44
@HugoPerard HugoPerard merged commit 952b5ef into master Aug 8, 2024
4 checks passed
@HugoPerard HugoPerard deleted the fix/collection-pristine-reset-without-values-reset branch August 8, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants