v1.1.0
Improvements
- The form value should now keep in synced on DOM updates (e.g. when you render an addition input) (#491)
- You can now access the latest form or field metadata in the callback without the need to subscribe it during render (#467)
- Form errors will be cleared immediately on form submit now instead of waiting until the server result is back (#553)
- Both the
update
andreset
intents now accept an optional index similar to theinsert
intent (#555) - Conform will revalidate on blur only if there was any changes made before (i.e. an input event was triggered) to minimize the chance server error get cleared simply because of moving focus out of the inputs. (#559)
- The
useFormMetadata
hook now accept noformId
(#560) - Fixed an issue with form reset failed if the form element is unmounted and form id getting out of sync (#571)
- The
type
prop returned from thegetCollectionProps
helper is narrowed down to the specific type by @AMEH64 (#562) - Added object and array support to getYupConstraint by @gglee89 (#465)
Docs
New japanese docs are now available on ja.conform.guide! Huge thanks to @coji for the translations. (#558)
- Added a language switcher by @coji (#544)
- Fixed wrong import example by @hpiaia (#574)
- Added one-time-code input to shadcn-ui examples by @lewisblackburn (#530)
New Contributors
- @lewisblackburn made their first contribution in #530
- @hpiaia made their first contribution in #574
- @gglee89 made their first contribution in #465
- @AMEH64 made their first contribution in #562
Full Changelog: v1.0.6...v1.1.0