简体   繁体   English

禁用移动设备的HTML拼写帮助

[英]disable spelling assistance in HTML for mobile devices

Is there a way to disable spelling assistance in HTML input fields in BlackBerry 6/Iphone/android? 有没有办法在BlackBerry 6 / Iphone / android的HTML输入字段中禁用拼写帮助?
I tried setting the 我试过设置
autocomplete="off" autocapitalize="false" autocorrect="false" spellcheck="false" autocomplete =“off”autocapitalize =“false”autocorrect =“false”spellcheck =“false”
", but doing that unfortunately doesn't seem to disable the autocomplete . “但不幸的是,这样做似乎并没有禁用自动完成功能。

I'm trying to do this because I want to use a custom autocompleter, but the BlackBerry autocompleter keeps getting in the way. 我正在尝试这样做,因为我想使用自定义自动填充程序,但BlackBerry自动填充程序不断阻碍。

Thanks 谢谢
Kevin 凯文
Any Ideas would be great 任何想法都会很棒

不要使用“假”,使用“关闭”:

<input type="text" id="test" name="keyword" autocorrect="off" autocapitalize="off" autocomplete="off" />

我只是这样做并在iPhone上测试,所有这些似乎都使用“关闭”,除了拼写检查需要“假”。

For blackberry, instead of using input type="text", you can use input type="email". 对于blackberry,您可以使用input type =“email”,而不是使用input type =“text”。 Auto correct is by default off for email in blackberry. 对于黑莓手机中的电子邮件,默认情况下自动更正。 This is specially very helpful when application is being build using sencha. 当使用sencha构建应用程序时,这特别有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM