v5.0.0
remix-hook-form respects Form
element props
From v5 onwards remix-hook-form will respect your
component props, namelyencType
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
- Update README.md by @devstojko in #91
- docs(README): fix typo in defaultValues by @machour in #95
- The one where you can change the encType by @AlemTuzlak in #98
New Contributors
- @devstojko made their first contribution in #91
- @machour made their first contribution in #95
Full Changelog: v4.3.0...v5.0.0