i.e. Implement the `minlength` attribute Relevant specs: * https://html.spec.whatwg.org/multipage/forms.html#attr-input-minlength * https://html.spec.whatwg.org/multipage/forms.html#attr-textarea-minlength * https://html.spec.whatwg.org/multipage/forms.html#dom-validitystate-tooshort
Don't feel bad, Firefox is also sucking at implementing this: https://bugzilla.mozilla.org/show_bug.cgi?id=932755
For the record, Blink implements this: http://caniuse.com/#feat=input-minlength
FWIW, you'll be way ahead of both Chrome/Blink & Mozilla/Firefox if you can make minlength & maxlength work together so as to form a character length range (as per spec)! See the "Name of Event" example here: https://html.spec.whatwg.org/multipage/forms.html#attr-fe-minlength
(In reply to comment #2) > For the record, Blink implements this: > http://caniuse.com/#feat=input-minlength Logged this bug with them for completeness: https://bugs.chromium.org/p/chromium/issues/detail?id=614175
Firefox has implemented this feature in version 51.
Probably fixed by https://bugs.webkit.org/show_bug.cgi?id=161644 ? Not sure about ValidityState.tooShort, in the diff https://bugs.webkit.org/attachment.cgi?id=288065&action=diff it seems to be at least mentioned.
*** This bug has been marked as a duplicate of bug 161644 ***