Skip to content

v5.0.0

Compare
Choose a tag to compare
@AlemTuzlak AlemTuzlak released this 20 Jun 09:19
· 52 commits to main since this release

remix-hook-form respects Form element props

From v5 onwards remix-hook-form will respect your

component props, namely encType and method props which will allow you to not use submitConfig and rely on these props, also this will improve the Progessive enhancement aspect because the form would still work without JS the same way.

Submitting JSON data now works

There was an issue with remix-hook-form where it submitted json form data as actual FormData, this is resolved with v5.

README updates

README now includes a working example of submitting files.

getValidatedFormData now takes in FormData

Before this release it only took in requests, now you can pass in formData and it will work the same as before.

What's Changed

New Contributors

Full Changelog: v4.3.0...v5.0.0