Web/API/ValidityState/tooShort

From Get docs

The read-only tooShort property of a ValidityState object indicates if the value of an <input>, <button>, <select>, <output>, <fieldset> or <textarea>, after having been edited by the user, is less than the minimum code-unit length established by the element's minlength attribute.

Specifications

Specification Status Comment
HTML Living StandardThe definition of 'ValidityState.tooShort' in that specification. Living Standard
HTML 5.1The definition of 'ValidityState.tooShort' in that specification. Recommendation
HTML5The definition of 'ValidityState.tooShort' in that specification. Recommendation

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
tooShort Chrome

Full support 40

Edge

Full support 17

Firefox

Full support 51

IE

No support No

Opera

Full support 27

Safari

Full support 11

WebView Android

Full support 67

Chrome Android

Full support Yes

Firefox Android

Full support 64

Opera Android

Full support 27

Safari iOS

Full support 10

Samsung Internet Android

Full support Yes

Legend

Full support  
Full support
No support  
No support


See also