confirm-against field in angularjs

10 views
Skip to first unread message

PRIYA CYNTHIA

unread,
Apr 5, 2017, 6:44:01 AM4/5/17
to Angular and AngularJS discussion
I am using confirm-against directive to validate if the password confirmation field matches against password field. The html tag is as below:

<input aa-field-group="passwordConfirmation" type="password" autocomplete="off" ng-confirm-field confirm-against="password" required/>

If I enter an invalid password and password confirmation field is same as the password field, then I still get validation message as "Password confirmation is invalid".
Is this the default behavior of confirm-against directive?

Sander Elias

unread,
Apr 6, 2017, 7:12:29 AM4/6/17
to Angular and AngularJS discussion
HI,

That's impossible to tell for me from just this single line in your template, you should build me a punker showing the issue you have, and then I can answer it better.
I never seen, nor used the confirm-against directive, so probably it's something 3th party, so this might just be in their docs.

Regards
Sander
Reply all
Reply to author
Forward
0 new messages