disable spelling assistance in HTML for mobile devices

前端 未结 3 1435
谎友^
谎友^ 2021-02-10 20:32

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:47

    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:56

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

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

    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)
提交回复
热议问题