Vee-validate: The validations do not work in some cases

Created on 10 Jul 2017  ยท  5Comments  ยท  Source: logaretm/vee-validate

screenshot at jul 10 13-35-02

I have been working with vee-validate. But sometimes it does not work correctly. The validations do not work on some computers with which we develop and on the server but in others computers on localhost it works without problem. Do you Know of a similar case? Can it be a configuration problem?

โ“ more information needed

All 5 comments

Validations are done using Regex, and validator.js for complex rules, I currently do not know of "validations not working" issues, but there could be a bug or configuration error. I would need more information about instances where validations do not work in order to debug it better.

EDIT: I forgot to mention that it uses promises heavily, so you might need to provide a polyfill for incompatible browsers.

Thank you for your reply, I will collect more information, another fact is that in a computer this began to happen when was changed the version 2.0.0-rc.2 to 2.0.0-rc.7

It could be some of the breaking changes introduced in rc.6 take a look here if something matches the behavior you currently see: https://github.com/baianat/vee-validate/releases/tag/2.0.0-rc.6

Thank you, I have found that the validateAll method always responds with Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined} and stays this way indefinitely, so never submit the form and what is inside of then() is ignored.

I see, are you using custom rules by any chance? if you can produce it in a fiddle I can help you better.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yyyuuu777 picture yyyuuu777  ยท  3Comments

Youdaman picture Youdaman  ยท  3Comments

Shchepotin picture Shchepotin  ยท  3Comments

the94air picture the94air  ยท  3Comments

ash0080 picture ash0080  ยท  3Comments