Releases: formly-js/vue-formly
v2.5.8
v2.5.7
Various Updates
This update includes changes from the following PRs:
- #26 - thanks to @electrolinux
- #27 - thanks to @klarkc
To summarise the changes:
- Fields with validation are now implicitly required. To run validation on empty fields you must set the
required
attribute tofalse
- The
fieldset
wrapper can now be changed to a different element by passing thetag
prop to theformly-form
element.
Fixing issues with keys in the template
As highlighted in #23 this release fixes the issue with incorrect :key
values in a v-for
loop.
Adding default values for templateOptions
v2.5.3 2.5.3
Fixing validation with undefined values
v2.5.2 2.5.2
SSR Compatibility
The templates have been changed to template functions to add compatibility for SSR & Nuxt
Validation functionality
Extra validation functionality has been added to the FormlyForm
component. This should help with validating the forms before submitting them. See the docs for details.
Asynchronous Validation *BREAKING CHANGE*
Asynchronous validation has been added to v2.3.1 and as such has changed the way that function validation expressions are handled. Please see the docs for more info.
Added validation messages
v2.2.0 comes with the addition of validation messages. You can now set global strings for error messages or set them on a case by case basis. Documentation will be added soon.