Home > Back-end >  Disabling autofill in html forms
Disabling autofill in html forms

Time:09-23

Hello I am facing an issue regarding autofill form in html. I have already used "autofill=off" in my html tag however I am still facing the problem of autofill suggestions. If you guys have any idea how to handle it using html or javascript please let me know.

CodePudding user response:

The attribute is autocomplete='off' not autofill

CodePudding user response:

Try autocomplete="off" on your input or same attribute on the whole <form>

CodePudding user response:

Just add the autocomplete attribute to your input tag like this:-

<form>
  <input autocomplete="off">
</form>

CodePudding user response:

autocomplete="off" works on latest browsers but there was issue in some older version of chrome for which you can refer these links for the solution:

Chrome ignores autocomplete="off"

Disabling Chrome Autofill

  • Related