react-password-strength
react-password-strength copied to clipboard
Ability to add custom rules
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?
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.