Remix Validated Form v5.0.1
airjp73
released this
14 Jun 14:33
·
696 commits
to main
since this release
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