开发者

Disable predictive text on iPhone for a form field

开发者 https://www.devze.com 2023-02-05 01:52 出处:网络
Is there an attribute which I can specify for an &开发者_Python百科lt;input> element which would turn off the predictive text functionality for this given field?

Is there an attribute which I can specify for an &开发者_Python百科lt;input> element which would turn off the predictive text functionality for this given field?

Something along the lines

<input type="text" predictive="disabled" />


There are some options:

<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off">


On a per form field basis you can always do the following:

<input type="text" autocorrect="off" />


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消