When we provide regex in strategy, the library displays the regex in error message. We can't imagine our users will be able to understand the regex nor they need to.
From the demo page itself I got this message
"Password" with value "gh" fails to match the required pattern: /[a-zA-Z0-9]{3,30}/
Also I feel we should not be displaying the entered password in error message.
When we provide regex in strategy, the library displays the regex in error message. We can't imagine our users will be able to understand the regex nor they need to. From the demo page itself I got this message "Password" with value "gh" fails to match the required pattern: /[a-zA-Z0-9]{3,30}/ Also I feel we should not be displaying the entered password in error message.