Chrome ignores autocomplete=“off”

后端 未结 30 1589
礼貌的吻别
礼貌的吻别 2020-11-22 00:42

I\'ve created a web application which uses a tagbox drop down. This works great in all browsers except Chrome browser (Version 21.0.1180.89).

Despite both the

30条回答
  •  旧时难觅i
    2020-11-22 01:09

    I had a similar issue where the input field took either a name or an email. I set autocomplete="off" but Chrome still forced suggestions. Turns out it was because the placeholder text had the words "name" and "email" in it.

    For example

    
    

    I got around it by putting a zero width space into the words in the placeholder. No more Chrome autocomplete.

    
    

提交回复
热议问题