HTMLButtonElement: willValidate プロパティ

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since December 2018.

willValidateHTMLButtonElement インターフェイスの読み取り専用のプロパティで、この <button> 要素が制約検証の対象であるかどうかを示します。制約の検証を禁止する条件のいずれかに該当する場合、false となります。条件には次のようなものがあります。

  • typereset または button のどちらかである
  • 祖先に <datalist> がある
  • disabled プロパティが true である

論理値です。

仕様書

Specification
HTML
# dom-cva-willvalidate-dev

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
willValidate

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

関連情報