Skip to content

Releases: seasonedcc/remix-forms

v1.2.1

01 Dec 21:58
Compare
Choose a tag to compare

Bug Fix

  • Fix markup for radio buttons and ensure default values are loaded properly by @danielweinmann in #112

Full Changelog: v1.2.0...v1.2.1

v1.2.0

01 Dec 18:31
Compare
Choose a tag to compare

New features

Docs

New Contributors

Full Changelog: 1.1.0...v1.2.0

v1.1.0

07 Nov 18:08
Compare
Choose a tag to compare

New features

Bug Fix (breaking change)

  • Before this release enums without a default value would be rendered by default as a select component having the first option selected. Now the component will be rendered without any selected option unless specified in the values property.

Full Changelog: v1.0.0...1.1.0

v1.0.0

01 Nov 12:26
Compare
Choose a tag to compare

Allow usage with React Router 6.4 🚀

Breaking changes

  • You now need to createForm and createFormAction before using Remix Forms. See upgrade instructions below. (#93)
  • The transition argument is not passed to Form's children anymore. If you used to get the transition from the children function, now you need to get it directly from useTransition, useNavigation, or useFetcher. (#93)

New features

Upgrade instructions

If you're using Remix Forms 0.x.x, upgrading is very easy. Here's what you have to do:

  • Create a custom formAction for your project in a server-only file and import it whenever you used to import { formAction } from 'remix-forms'. Follow the instructions on our Get Started guide to create it.
  • If you haven't yet created a custom Form component for your project, create one by following our Get Started guide. Then, import it whenever you used to import { Form } from 'remix-forms'.
  • If you already created a custom Form component, you'll need to do a couple of changes to it. Check out the very last section of our Get Started guide for instructions.