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
BCD tables only load in the browser