Disable Chrome Autofill creditcard Disable Chrome Autofill creditcard google-chrome google-chrome

Disable Chrome Autofill creditcard


I finally found a workaround! Set the autocomplete attribute as "cc-csc". That value is the CSC of a credit card and they are no allowed to store it! (for now...)

autocomplete="cc-csc"


Have you tried:

autocomplete="nope"

At first glance this may look silly but ...

In some cases, the browser will keep suggesting autocompletion values even if the autocomplete attribute is set to off. This unexpected behavior can be quite puzzling for developers. The trick to really forcing the no-autocompletion is to assign a random string to the attribute --- https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion


I had the same issue and solved the problem by changing:

<input type="text" ...>

To

<input type="email" ...>

This will add the "@" on the user keyboard, but no problem.

Or

<input type="search" ...>

This will change the "confirm button" on the user keyboard to the "search button". It is less intuitive than the previous solution.