Releases: willowtreeapps/react-formable
Releases · willowtreeapps/react-formable
v0.3.0
Release 0.3
This release mostly revolved around documentation and code cleaning with one breaking API change.
Changes
- BREAKING API:
Prior, Formable would only check your form once and not worry about circular dependencies unless you passed a circular boolean to the Form instance. This was confusing as validation still provided fieldErrors to the user. To make things clearer, we renamed circular to addValidationErrors. Now by default, your validators only get value and fieldValues. If you want fieldErrors you set addValidationErrors to true and your dependencies are validated.
- New and improved documentation!
- A sprinkling of unit tests
- Performance improvements for cloning and validation
- Adding validators
- required
- regex
- less than
- greater than
- minimum / maximum length
- equals