1.5.2
π Bugfixes
- π Fixed a bug where
arrayHelpers
wasn't being injected into the child component ofFormArrayField
.
π Improvements
-
π New exports! Formup is now exporting the components returned by
useFormup
:- Form
- FormInput
- FormArrayField
- FormInputGroup
- FormInputGroupItem
This means you don't have to get these components from useFormup
- if you want to, you can simply import these components from @formup/core
. This helps a lot with prop dependency since you don't need to pass these components as props anymore!
// These are the same:
import { FormInput } from "@formup/core";
// --
import { useFormup } from "@formup/core";
const { FormInput } = useFormup();