ValidityState.tooShort
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.
tooShort
は ValidityState
オブジェクトの読み取り専用プロパティで、 <input>
, <button>
, <select>
, <output>
, <fieldset>
, <textarea>
の何れかの値がユーザーによって変更された後、要素の minlength
属性で指定されたコード単位長よりも短くなったことを示します。
仕様書
Specification |
---|
HTML Standard # dom-validitystate-tooshort-dev |
ブラウザーの互換性
BCD tables only load in the browser