Limit checking is for only one error message per input field. A way around this is to combine validation messages.
password.setCustomValidity(password.validationMessage + ' At least one capital letter');
The downside is that you cannot add html, so all messages will be put in a string.
Alexander Christiansson
source share