Ronalds Vilciņš

Riga, Latvia

Preventing autofilling with autocomplete new-password

If an input element has the attribute value autocomplete="new-password", browsers can suggest securely-generated passwords and prevent autofilling of password fields.

<input autocomplete="new-password" type="password" />

See also