password-strength icon indicating copy to clipboard operation
password-strength copied to clipboard

Custom message and validator for Password not equal to username

Open sanjay177 opened this issue 3 years ago • 0 comments

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X ] feature request

OS and Version?

macOS(Monterary)

Versions

Angular Version - 11.2

Repro steps

In my application i would like to make sure that user does not enter same password as the username/email address . Is there a way i can implement my custom method which will return either true or false based on that password stregth info message will turn green or red. I understand that there is customValidator present in library but can we also use that to see if user is entering same password as username

The log given by the failure

Desired functionality

In my application i would like to make sure that user does not enter same password as the username/email address . Is there a way i can implement my custom method which will return either true or false based on that password stregth info message will turn green or red. I understand that there is customValidator present in library but can we also use that to see if user is entering same password as username

Mention any other details that might be useful

sanjay177 avatar Dec 10 '21 05:12 sanjay177