html - Disable form autofill in Chrome without disabling autocomplete -
this question has answer here:
- disabling chrome autofill 64 answers
how can disable chrome's autofill feature on <input>
s prevent them being automatically populated when page loads?
at same time need keep autocomplete enabled, user can still see list of suggestions clicking on input or typing in it. can done?
edit: feel free use plain javascript or jquery if feel necessary or feel make solution simpler.
here's magic want:
autocomplete="new-password"
chrome intentionally ignores autocomplete="off"
, autocomplete="false"
. however, put new-password
in special clause stop new password forms being auto-filled.
i put above line in password input, , can edit other fields in form , password not auto-filled.
Comments
Post a Comment