Chrome thinks name entry is credit card entry?
tannerkrewson opened this issue · 1 comments
tannerkrewson commented
Chrome thinks name entry is credit card entry?
arlen-yu commented
Was encountering this same issue. Dug into it a bit and looks like the name entry input is marked with autocomplete="off"
. Chrome is notoriously bad at allowing developers to turn off autocomplete and basically ignores the tag unless it's marked on the <form />
level (and also fewer than 3 elements in the form?).
As per the link above it seems autocomplete="chrome-off"
is working on some chrome versions but I couldn't reproduce it on chrome 89. The easiest fix that would work across all versions seems to be:
<input ... readonly onfocus="this.removeAttribute('readonly');"/>