Google Chrome forces autofill on fields set autocomplete="off"
See original GitHub issueWe are struggling to disable chrome’s autocomplete when using this. We can set
autocomplete: "new-password"
on the input, but not on the new input in theautocomplete__wrapper
. You can see chromes autofill interfering and the relevantautocomplete
label in this screencast.
From researching it this morning it seems to be that Chrome is ignoring autocomplete “off” and instead you need to use “new-password”.
Chrome intentionally ignores autocomplete=“off” and autocomplete=“false”. However, they put new-password in as a special clause to stop new password forms from being auto-filled.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Chrome ignores autocomplete="off" - Stack Overflow
Chrome respects autocomplete=off only when there is at least one other input element in the form with any other autocomplete value. This will...
Read more >How to turn off form autocompletion - Web security | MDN
To disable autocompletion in forms, you can set the autocomplete ... the browser autofills the login fields with the stored values.
Read more >Permanently disable autocomplete; standard solutions DO ...
Click the Chrome menu icon. (Three lines at the top right of the screen.) Click on Settings. At the bottom of the page,...
Read more >Stopping Chrome from ignoring autocomplete=off - Adam Silver
But if you want Chrome (and other browsers) to stop autofilling fields then you need to use a name , id and autocomplete...
Read more >914451 - Autofill does not respect autocomplete="off" - Monorail
Chrome will respect autocomplete="no" ...but not "off" ..however, you are unable to set it to "no" except in the developer console, because the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Stolen from @igloosi’s Twitter
@nickcolley I’ve been struggling with this bug in Chrome for a long time. The chrome team do not seem to be paying attension to the bug report and seem to actively find new ways to force autocomplete, when you think you’ve found a work around.