question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Google Chrome forces autofill on fields set autocomplete="off"

See original GitHub issue

We 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 the autocomplete__wrapper. You can see chromes autofill interfering and the relevant autocomplete 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.

from https://stackoverflow.com/questions/10938891/disable-form-autofill-in-chrome-without-disabling-autocomplete

screen shot 2019-02-05 at 12 16 21

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

8reactions
dashousecommented, Feb 6, 2019

Stolen from @igloosi’s Twitter

chrome-autocomplete

3reactions
NogginBoxcommented, Jul 12, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found