Skip to content

Releases: BearStudio/formiz

v1.3.0

12 Aug 07:36
Compare
Choose a tag to compare

New feature that allows setValue to accept a function that gives the previous value (like React setState).

setValue((previousValue) => {
  // ...
  // Your logic
  // ...
  return newValue;
})

v1.2.0

06 Aug 14:39
Compare
Choose a tag to compare

Allows nested object for setFieldsValues.

Now the following code will works:

setFieldsValues({
  fieldName: 'New value',
  nested: {
    subField: 'New value',
  },
})

the following code will still works too ;)

setFieldsValues({
  fieldName: 'New value',
  'nested.subField': 'New value',
})

v1.1.1

02 Aug 11:38
Compare
Choose a tag to compare

Fix issue when the required property change, the validations was not updated.

The following code will now works properly:

<Field
  name="my-field"
  required={customCondition ? 'Field is required' : false}
/>

v1.1.0

28 Jun 09:39
Compare
Choose a tag to compare

Add an autoHide property on <FormizStep> to allow custom display of steps.
See Documentation

v1.0.4

14 Jun 08:44
Compare
Choose a tag to compare

Add an option on setFieldsValues to allow keeping values for unmounted fields.
See documentation

v1.0.3

16 Apr 15:02
Compare
Choose a tag to compare

fix: setFieldsValues with null is now updating correctly the field with a null value.

v1.0.2

25 Mar 11:04
Compare
Choose a tag to compare

fix: Prevent Formiz to mutate initialValues with nested values

v1.0.1

14 Jan 19:05
Compare
Choose a tag to compare
  • Fix: Issue with conditional render of <Formiz /> with useForm() and connect #48

🎉 Formiz 1.0

06 Dec 13:55
Compare
Choose a tag to compare

formiz-1 0

🎉 🐜 Formiz 1.0.0 is here!

Quick view features:

  • 🧙 Multi steps forms
  • ✅ Composable form validation
  • 💅 Headless, build your own UX
  • 📋 Turn everything into fields
  • ⚛️ Built with hooks

Documentation: https://formiz-react.com

(🔥 Next version already on development 😉 )

v1.0.0-rc.29

30 Nov 12:46
Compare
Choose a tag to compare

Fix issue with React Fast Refresh (NextJS and Create React App 4.0) 😉