John Mullaney
John Mullaney

Reputation: 71

How do I keep browser from listing suggestions for input-field (not necessarily the same as disabling autocomplete/autofill)?

I currently have autocomplete='off' on the "form" tag. I currently have autocomplete='random-stuff' on the "input" tag. Per many different suggestions I found on Stack Overflow for disabling auto-fill, I have tried various values for the autocomplete attribute: "off", "false", "disabled", "disable", "new-password", "[random]". Chrome's auto-fill seems to be disabled (somewhat) but the auto-fill light-yellow background still appears if one selects one of the suggestions. But nothing I've tried keeps Chrome from offering suggestions.

I want to disable auto-fill AND prevent suggestions for the input-field. I'm looking for a solution using any combination of PHP, HTML, CSS, or Javascript. Thanks.

Upvotes: 1

Views: 1295

Answers (1)

AL mir
AL mir

Reputation: 31

for google chrome 69.0.3497.81 autocomplete='off' work fine

Upvotes: 1

Related Questions