Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:vuejs/vue-validator
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Apr 30, 2016
2 parents a9ed4ae + adb206c commit 93569c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/en/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Also, Error message can be used with `v-for`:
<div class="errors">
<ul>
<li v-for="error in $validation1.errors">
<p>{{error.field}}: {{error.mesage}}</p>
<p>{{error.field}}: {{error.message}}</p>
</li>
</ul>
</div>
Expand Down
10 changes: 5 additions & 5 deletions docs/en/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ new Vue({

You can be handled the event that has occured in the various top-level validation properties:

- `valid`: occure when validation result of **top-level** became valid
- `invalid`: occure when validation result of **top-level** became invalid
- `touched`: occure when **top-level** detected `blur` at least once
- `dirty`: occure when the value of **top-level** changed from initial value at least once
- `modified`: occure when the value of **top-level** changed from initial value
- `valid`: occurs when validation result of **top-level** became valid
- `invalid`: occurs when validation result of **top-level** became invalid
- `touched`: occurs when **top-level** detected `blur` at least once
- `dirty`: occurs when the value of **top-level** changed from initial value at least once
- `modified`: occurs when the value of **top-level** changed from initial value

```html
<div id="app">
Expand Down

0 comments on commit 93569c0

Please sign in to comment.