Duolith docs

Errors E0500 to E0599

E0512 Autocomplete value a field cannot take

Message autocomplete="value" is not a kind of value a field can fill in

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

autocomplete tells the browser, iOS (textContentType) and Android (autofill hints) what a field holds, so they can offer saved names, addresses, passwords and one-time codes. Only the words the language lists are understood on every platform.

How to fix it

Use one of the listed words, such as email, username, current-password, new-password, one-time-code, name, tel or postal-code, or off.

In a terminal

duolith explain E0512

Mentioned in