Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "vue-form", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Form validation for Vue.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-form.js", |
# vue-form | ||
[](https://travis-ci.org/fergaldoyle/vue-form) | ||
[](https://travis-ci.org/fergaldoyle/vue-form) | ||
@@ -135,3 +135,3 @@ Form validation for Vue.js 2.0+ | ||
The `show` prop supports simple expressions which specifiy when erros should be displayed based on the current state of the field, e.g: `$dirty`, `$dirty && $touched`, `$dirty || $touched` | ||
The `show` prop supports simple expressions which specifiy when messages should be displayed based on the current state of the field, e.g: `$dirty`, `$dirty && $touched`, `$dirty || $touched`, `$touched || $submitted` | ||
@@ -284,3 +284,3 @@ ```html | ||
* `tag` String which specifies what element tag should be rendered by the `validate` component, defaults to `span` | ||
* `auto-label`: Automatically set `for` and `id` attributes of label and input elements found inside the `validate` component | ||
* `auto-label`: Boolean, defaults to false. Automatically set `for` and `id` attributes of label and input elements found inside the `validate` component | ||
@@ -292,4 +292,8 @@ #### field-messages | ||
* `show`: String, show error dependant on form field state e.g. `$touched`, `$dirty || $touched`, '$touched || $submitted' | ||
* `auto-label`: Automatically set the `for` attribute of labels found inside the `field-messages` component | ||
* `auto-label`: Boolean, defaults to false. Automatically set the `for` attribute of labels found inside the `field-messages` component | ||
#### field | ||
* `tag` String, defaults to `div` | ||
* `auto-label`: Boolean, defaults to true. Automatically set `for` and `id` attributes of label and input elements found inside the `validate` component | ||
### Config | ||
@@ -296,0 +300,0 @@ Set config options using `vueForm.config`, defaults: |
119260
342