Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validation-confirm-password does not update when a password is changed #65

Open
thiagodp opened this issue Apr 12, 2015 · 2 comments
Open
Labels

Comments

@thiagodp
Copy link

The validation-confirm-password directive does not monitor the password value, when the password input name is different from "password", even using passwordFieldId.

Simple test with the example in Plunker (http://plnkr.co/edit/z0DTSV?p=preview):

  1. Remove all validations from Password and Confirm Password, except for validation-confirm-password="true" in Confirm Password;
  2. Change the Password's id and name to something different from "password" (e.g. "password2");
  3. Add passwordFieldId property to Confirm Password, with the same value as Password's id.
  4. Run.
  5. Type the Password (e.g. "a");
  6. Type a different content in Confirm Password (e.g. "b");
    The message Passwords do not match. will be displayed.
  7. Correct the Password (e.g. type "b").
    The expected behavior is that the error message Passwords do not match. would disappear, but nothing happens.

It appears that passwordFieldIdis not working correctly.

@nelsonomuto nelsonomuto added the bug label Nov 7, 2015
@nelsonomuto
Copy link
Owner

I will work on resolving this in the next release

@thiagodp
Copy link
Author

thiagodp commented Nov 8, 2015

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants