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.
Asked
Active
Viewed 53 times
0
-
`autocomplete` should be used as `autofill` is a pseudoclass not an attribute. But it may not work anyway. See https://stackoverflow.com/a/69233154/994006 – Nice Books Sep 23 '21 at 07:52
-
I would like to correct here. I said autofill instead of autocomplete. – Onkar Meherwade Sep 23 '21 at 07:52
-
If you arrive here because autocmplete is not working as you think it should using `autocomplete="off"` go here: https://stackoverflow.com/questions/12374442/chrome-ignores-autocomplete-off – StudioTime Sep 23 '21 at 08:01
3 Answers
0
Just add the autocomplete attribute to your input tag like this:-
<form>
<input autocomplete="off">
</form>

Shaurya Shrimal
- 110
- 9