You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
Trying to use cross-field validation to validate a password and password confirmation field but it's not working, the target/ref to refer doesn't actually return its value.
Trying to use cross-field validation to validate a password and password confirmation field but it's not working, the
target
/ref
to refer doesn't actually return its value.On the template I have:
the
<h-text-field/>
component simply renders a<ValidationProvider>
with the rules for the fields and the name provided as prop.And the rules are:
As per https://logaretm.github.io/vee-validate/advanced/cross-field-validation.html#targeting-other-fields I reference the
password_confirmation
(the name of the ValidationProvider) as an argument to that validation rule.The validation rule:
/plugins/vee-validate.js
The
target
always logs the name of the parampassword_confirmation
instead of the actual value of that fieldAn overview of the setup
The last two fields are the password and the password confirmation
The text was updated successfully, but these errors were encountered: