ValidityState.tooLong
Baseline 2023
Newly available
Since March 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
tooLong
は ValidityState
オブジェクトの読み取り専用のプロパティで、 <input>
や <textarea>
の値がユーザーに変更された後、その要素の maxlength
属性で設定された最大コード単位長を超えているかどうかを示します。
仕様書
Specification |
---|
HTML Standard # dom-validitystate-toolong-dev |
ブラウザーの互換性
BCD tables only load in the browser