Skip to content

Instantly share code, notes, and snippets.

@khata-jp
Created September 12, 2021 13:42
Show Gist options
  • Save khata-jp/ad52f2aa9d49064d3ab15bdf5133b939 to your computer and use it in GitHub Desktop.
Save khata-jp/ad52f2aa9d49064d3ab15bdf5133b939 to your computer and use it in GitHub Desktop.
does not work autocomplete attribute on input tag on Chrome Exntesion Popup
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Popup</title>
</head>
<body>
<div>
<input type="text" name="yourarea" autocomplete="on" list="food" style="margin-bottom: 100px;">
<datalist id="food">
<option>Sushi</option>
<option>Miso-soup</option>
<option>Tempura</option>
</datalist>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment