cee-validate
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -336,3 +336,3 @@ import { Component, Vue } from 'vue-property-decorator'; | ||
var rule = RuleContainer.getRule(ruleName); | ||
var hasError = rule.validate(field.value, ruleArgs); | ||
var hasError = !rule.validate(field.value, ruleArgs); | ||
var errorMessage = rule.message; | ||
@@ -339,0 +339,0 @@ return hasError ? errorMessage : ''; |
@@ -340,3 +340,3 @@ (function (global, factory) { | ||
var rule = RuleContainer.getRule(ruleName); | ||
var hasError = rule.validate(field.value, ruleArgs); | ||
var hasError = !rule.validate(field.value, ruleArgs); | ||
var errorMessage = rule.message; | ||
@@ -343,0 +343,0 @@ return hasError ? errorMessage : ''; |
{ | ||
"name": "cee-validate", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "A model-based form validation library for vue inspired by vuelidate and vee-validate.", | ||
@@ -5,0 +5,0 @@ "module": "dist/cee-validate.es5.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
79274