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

Custom message and validator for Password not equal to username #342

Open
sanjay177 opened this issue Dec 10, 2021 · 0 comments
Open

Custom message and validator for Password not equal to username #342

sanjay177 opened this issue Dec 10, 2021 · 0 comments

Comments

@sanjay177
Copy link

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

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

No branches or pull requests

1 participant