Re:Chrome Autofill doesn't respect autocomplete=off
by codyswann on Wednesday May 19, 2021 @05:28PM
(#27214696)
set autoFill to "new-password"
Re:Chrome Autofill doesn't respect autocomplete=off
by LeifCarrotson on Wednesday May 19, 2021 @04:20PM
(#27213963)
Edit: I stand corrected, this approach worked for me when I was building an internal app but apparently doesn't work at other times.
Just don't give the input an "id=password" and Chrome won't throw your password into it.
It's just a label, the autofill is because it matches all the other sites where you do want Chrome to autofill your password.
I can give you a legitimate, actual use case where I had to develop a workaround: a page where an admin can change the password for a user. Under no circumstances would an autofill be desirable on that page, yet Chrome thinks it knows best.