Draft
This page is not complete.
The read-only tooLong
property of a ValidityState
object 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 |
---|---|---|
HTML Living Standard The definition of 'ValidityState.tooLong' in that specification. |
Living Standard | |
HTML 5.1 The definition of 'ValidityState.tooLong' in that specification. |
Recommendation | |
HTML5 The definition of 'ValidityState.tooLong' 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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
tooLong | Chrome Full support 15 | Edge
Full support
12
| Firefox
Full support
4
| IE Full support 10 | Opera Full support 15 | Safari Full support 11 | WebView Android Full support 4 | Chrome Android Full support Yes | Firefox Android Full support 64 | Opera Android Full support 14 | Safari iOS Full support 5 | Samsung Internet Android Full support Yes |
Legend
- Full support
- Full support
- See implementation notes.
- See implementation notes.