Chrome ugly message when autofill is disabled
Since Chrome recently upgraded, I’ve started to see the message “This web page has disabled automatic filling for this form.” all over my website when form controls are clicked (OK, accidently double clicked) where autocomplete=”off” (we’re talking about chat rooms etc where the browser really doesn’t need to remember previous messages sent).
It’s pretty ugly, does anybody know how to disable this? I can’t find much information on the web, other than things dating back to 2010 just saying that this is a feature. The thing is, it’s only just started happening for me on the latest version, same for another computer running Chrome.
Just stumbled upon the same problem and found a simple fix.
You have to add the autocomplete attribute directly to the input field NOT to the whole form.
This code works:
And this won’t