Releases: BearStudio/formiz
v1.3.0
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
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
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
Add an autoHide
property on <FormizStep>
to allow custom display of steps.
See Documentation
v1.0.4
Add an option on setFieldsValues
to allow keeping values for unmounted fields.
See documentation
v1.0.3
fix: setFieldsValues with null
is now updating correctly the field with a null
value.
v1.0.2
fix: Prevent Formiz to mutate initialValues with nested values
v1.0.1
🎉 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
Fix issue with React Fast Refresh (NextJS and Create React App 4.0) 😉