-1

https://www.w3schools.com/howto/howto_js_filter_lists.asp

I've created a text input using the code in the link above. How can I stop this dropdown of recent searches from appearing when clicking/typing on the input?

Hasan
  • 11
  • 3

1 Answers1

1

Add autocomplete="off" to your input tag:

<input autocomplete="off">

stefano
  • 336
  • 2
  • 8