The read-only property ValidityState.tooLong
indicates if the value of an <input>
or <textarea>
, after having been edited by the user, exceeds the maximum code-unit length established by the element's maxlength
attribute.
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'ValidityState.tooLong' in that specification. |
Living Standard | |
HTML5.1 The definition of 'ValidityState.tooLong' in that specification. |
Recommendation | |
HTML5 The definition of 'ValidityState.tooLong' in that specification. |
Recommendation |
Browser compatibility
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | ? | (Yes) | ? | ? | ? | ? |
Feature | Android | Chrome for Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | ? | ? | (Yes) | ? | ? | ? | ? |