javascript - How do I disable predictive text for reCAPTCHA on mobile? -
I am using reCAPTCHA on a sign-up form. This is annoying on mobile devices because the phone constantly suggests the dictionary word while typing.
I know how to turn it off for the common input field, and maybe it can do some JavaScript after running it and adding attributes to the input field - but ... of course It should be off by default (because it's 99% of time is useless) or is it easy to configure at least one 'off' setting?
I can not find anything useful in the document. Thank you.
Autocomplete on mobile device, auto correction, and automatically comes in the form of 3 features Which can be used on input areas:
& lt; Input type = "article" autocorrect = "off" /> & Lt; Input type = "article" autocomplete = "off" /> & Lt; Input type = "text" autocapitalize = "off" />
You can also disable spell-checking:
& lt; Input type = "text" spell check = "wrong" />
As far as I know there is no native way to disable autocomplete in Recapshare. As you say, I can not get docs or anywhere else.
As you say, it will be very rare to run a script automatically to set:
with jQuery:
$ ( "Input [type = text]"). Ether ("autocomplete", "off");
Without jQuery (Vanilla JS):
document.querySelectorAll ("input [type = text]"). SetAttribute ("autocomplete", "off");
Comments
Post a Comment