diff --git a/README.md b/README.md index 35abdbe..406b554 100644 --- a/README.md +++ b/README.md @@ -372,7 +372,7 @@ setTimeout(function () { # Reset validation results -You can reset the validation results with `$validatorReset()` Vue instance meta method that defined with validator dynamically. the below the exmpale: +You can reset the validation results with `$resetValidation()` Vue instance meta method that defined with validator dynamically. the below the exmpale: ```html
@@ -391,7 +391,7 @@ You can reset the validation results with `$validatorReset()` Vue instance meta

Your comment is too long.

- +
{{ $validation1 | json }}
@@ -403,7 +403,7 @@ new Vue({ el: '#app', methods: { onReset: function () { - this.$validatorReset() + this.$resetValidation() } } }) diff --git a/example/reset/index.html b/example/reset/index.html index 6fb5936..10b202a 100644 --- a/example/reset/index.html +++ b/example/reset/index.html @@ -2,7 +2,7 @@ - validation result reset example + validation result resetting example