disable spelling assistance in HTML for mobile devices

前端 未结 3 876
孤城傲影
孤城傲影 2021-02-10 20:30

Is there a way to disable spelling assistance in HTML input fields in BlackBerry 6/Iphone/android?
I tried setting the
autocomplete=\"off\" autocapitalize=\"false\" au

相关标签:
3条回答
  • 2021-02-10 20:48

    Don't use "false", use "off":

    <input type="text" id="test" name="keyword" autocorrect="off" autocapitalize="off" autocomplete="off" />
    
    0 讨论(0)
  • 2021-02-10 20:50

    I was just doing this and testing on an iPhone and all of them seem to use "off" except spellcheck needs to be "false."

    0 讨论(0)
  • 2021-02-10 20:55

    For blackberry, instead of using input type="text", you can use input type="email". Auto correct is by default off for email in blackberry. This is specially very helpful when application is being build using sencha.

    0 讨论(0)
提交回复
热议问题