github airjp73/rvf remix-validated-form-v5.0.1
Remix Validated Form v5.0.1

latest releases: core-6.1.4, core-6.1.3, valibot-6.0.0...
15 months ago

Slightly breaking fix

The v5 release notes communicated a breaking change to the types that narrowed the onSubmit type based on the provided subaction. This was not fully implemented and only the defaultValues were being narrowed. This patch fixes that and adds the expected type narrowing to the onSubmit prop as well.

This could technically be considered an additional breaking change, but I've included it as a patch because it was the originally intended behavior for the v5 breaking change.

Full Changelog: remix-validated-form-v5...remix-validated-form-v5.0.1

Don't miss a new rvf release

NewReleases is sending notifications on new releases.