Skip to content

1.5.2

Compare
Choose a tag to compare
@pedro-lb pedro-lb released this 31 Jul 17:06
· 86 commits to master since this release

πŸ› Bugfixes

  • πŸ› Fixed a bug where arrayHelpers wasn't being injected into the child component of FormArrayField.

πŸ’… 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();