Vee-validate: VeeValidate 2.0 -> validate() vs validateAll()

Created on 27 Aug 2019  ยท  1Comment  ยท  Source: logaretm/vee-validate

Hello,
I wonder what's the difference between methods validate() and validateAll() in VeeValidate 2.0. It is not mentioned in the docs.

โ” question

Most helpful comment

validate() is just an alias for validateAll when it has no params, so there is no difference between them the validateAll was an older API.

But both received different args:

validate('scope.*') is an alias for `validateAll('scope').

>All comments

validate() is just an alias for validateAll when it has no params, so there is no difference between them the validateAll was an older API.

But both received different args:

validate('scope.*') is an alias for `validateAll('scope').

Was this page helpful?
0 / 5 - 0 ratings