5

What is the difference between autocomplete = "disabled" and autocomplete = "off", when I use autocomplete = "off", I'm still able to get a drop down and able to fill emails. I'm using edge, below are screenshots for reference

autocomplete = "off"

autocomplete = "disabled"

Vamsi Simhadri
  • 318
  • 2
  • 8

2 Answers2

0

So the problem is that autocomplete="off" is largely ignored in modern browsers - primarily due to password managers etc.. In your case autocomplete="disabled" is working because your browser doesn't recognize this value. So you may be happy that random value works for you as this solution sometimes doesn't work either.

Here are some other solutions to this problem: https://stackoverflow.com/questions/12374442/chrome-ignores-autocomplete-off"

-1

It is form attribute autocomplete="off" and autocomplete="some string" for input field disabled

<form autocomplete="off">
    <input id="email" autocomplete="email" name="email" type="email">
</form>