Chrome ignores autocomplete=“off”

后端 未结 30 1583
礼貌的吻别
礼貌的吻别 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 00:59

    autocomplete="off" is usually working, but not always. It depends on the name of the input field. Names like "address", 'email', 'name' - will be autocompleted (browsers think they help users), when fields like "code", "pin" - will not be autocompleted (if autocomplete="off" is set)

    My problems was - autocomplete was messing with google address helper

    I fixed it by renaming it

    from

    
    

    to

    
    

    Tested in chrome 71.

提交回复
热议问题