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

Empty errors array when there are errors in the form #321

Open
nkostadinov opened this issue Oct 14, 2016 · 1 comment
Open

Empty errors array when there are errors in the form #321

nkostadinov opened this issue Oct 14, 2016 · 1 comment

Comments

@nkostadinov
Copy link

nkostadinov commented Oct 14, 2016

vue & vue-validator version

1.0.26, 2.1.4

Reproduction Link

https://jsfiddle.net/nikolakk/Lwox0p7x/3/

What is Expected?

$validation1.errors to be populated with the field errors and displayed in the errors div

What is actually happening?

$validation1.errors is empty

@jsodeman
Copy link

This occurs when the error message isn't set on the validators
"{ required: { rule: true, message: 'Foo is required' } }"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants