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 Standard The definition of 'ValidityState.tooShort' in that specification. |
Living Standard | |
HTML 5.1 The definition of 'ValidityState.tooShort' in that specification. |
Recommendation | |
HTML5 The definition of 'ValidityState.tooShort' in that specification. |
Recommendation |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
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