disableAutocorrection property

bool? disableAutocorrection
getter/setter pair

Set to true to disable autocorrection and spelling suggestions for editable HTML elements in the WebView. This applies the HTML autocorrect="off" and spellcheck="false" hints at document start, including editable elements added later by the page. This is a content hint and does not change the system keyboard setting globally. On platforms with a web content engine, it maps to autocorrect="off" and spellcheck="false" for editable elements. The default value is false.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Windows WebView2
  • Linux WPE WebKit
  • Web <iframe> but requires same origin

Implementation

bool? disableAutocorrection;