Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Ability to add custom rules #72

Open
bogdancss opened this issue Nov 11, 2019 · 1 comment
Open

Ability to add custom rules #72

bogdancss opened this issue Nov 11, 2019 · 1 comment

Comments

@bogdancss
Copy link

We need our passwords to contain at least a non-alphanumerical character. Is there a way of passing that as an option to control when it becomes valid?

@glennwidener
Copy link

Since such rules are really orthogonal to strength, I'd suggest instead a different feature that's sorely needed for many other reasons: pass in a custom input component. Then it can perform and display it's own validation independently (above) the strength meter. As well as render consistently with your other text fields. I'm preparing just such an enhancement to submit.

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

No branches or pull requests

2 participants