Versions
Describe the bug
The confirmed validation rule depends on the order of filling out fields when using ValidationProvider (I did not noticed it before making the change to using ValidationProvider).
To reproduce
Have 2 ValidationProviders, the first has the confirmed rule.
Now when filling the first field and then the second field, the first field is marked with a "fields do not match" error.
When filling the second field first it does work like expected.
Expected behavior
The confrimed rule should work no matter the order of filling out the fields.
Desktop (please complete the following information):
Yes, this also appears to not work at all on the current example page:
https://baianat.github.io/vee-validate/guide/rules.html#confirmed
Sorry for the late response.
The docs used an incorrect name for the field and the errors.first method. Now it should be working correctly.
I have identified the issue that prevented a provider from watching its targets, should be up with the next release.
Most helpful comment
Sorry for the late response.
The docs used an incorrect name for the field and the
errors.firstmethod. Now it should be working correctly.I have identified the issue that prevented a provider from watching its targets, should be up with the next release.