2019, Chrome 76, approach to autocomplete off

后端 未结 9 2187
忘掉有多难
忘掉有多难 2020-12-29 04:43

There are are few posts out there about this. You spend hours going through each answer, testing, reading comments, to find that there is no solution. What have you done in

9条回答
  •  借酒劲吻你
    2020-12-29 05:00

    As gasman's answer explains, both the autofill and autocomplete features must be disabled, which doesn't seem possible on a single input.
    The only working solution I've found is to setting autocomplete="off" on the input and add hidden fake inputs before the real input that fool autofill, like so:

    
    
    
    

提交回复
热议问题