Reputation: 936
For a web application open on Android Chrome. Is it possible to disable automatic keyboard correction on a specific HTML input.
Thanks for your help.
Upvotes: 2
Views: 2101
Reputation: 30007
It's a bug in Chromium.
In fact, the behavior of that row changes based on the HTML element (try <input type="password" autocorrect="newpassword" />
and see the suggestions turn into 0-9 numbers). Chrome needs to respect what developers intend to.
Please upvote/star that bug.
Upvotes: 0
Reputation: 2539
I don't think it is possible to disable Android's automatic keyboard correction for an input type in HTML.
But you can show a custom keyboard instead of standard Android OS keyboard. With your own keyboard you will have more flexibility over the user input. You can also reduce some keys or add keys for special symbols if you want.
Checkout this form for more details. It has links to some articles which will help you to implement it.
https://stackoverflow.com/a/22876767/10602679
Upvotes: 1
Reputation: 97
Including following attributes in an input or textarea will disable this:
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
e.g.
<input autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
Upvotes: 4