Reputation: 24597
Is there an attribute which I can specify for an <input>
element which would turn off the predictive text functionality for this given field?
Something along the lines
<input type="text" predictive="disabled" />
Upvotes: 7
Views: 7972
Reputation: 31
As of September 28, 2023 disabling these two parameters is hiding the predictive text bar in iOS: autocorrect and spellcheck.
https://codesandbox.io/s/disable-predictive-text-ttncd4
Upvotes: 0
Reputation: 424
There are some options:
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off">
Upvotes: 11
Reputation: 686
On a per form field basis you can always do the following:
<input type="text" autocorrect="off" />
Upvotes: 6
Reputation: 196217
From the user side you can
Settings > General > Keyboard > Auto-Correction On/Off.
from the app side, i don't think it can be done.
Upvotes: 1