html - Disable form autofill in Chrome without disabling autocomplete -


this question has answer here:

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

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -