BearStudio / formiz

🐜 React forms with ease! Composable, headless & with built-in multi steps
https://formiz-react.com/
MIT License
390 stars 50 forks source link

fix: reset collection's pristine when values has to not be reset #223

Closed HugoPerard closed 1 month ago

HugoPerard commented 1 month ago

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"] })
vercel[bot] commented 1 month ago

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