INPUT TEXT remove the default drop-down menu for the browser

how can i remove the focusin dropdown that you see in this image? enter image description here

css or javascript? How?

thanks.

+4
source share
3 answers

Use autocomplete="off" :

 <input type="text" autocomplete="off"> 

However, this is a non-standard attribute for HTML version <5. In HTML5, you are free to use this attribute, see Link:

+13
source

If it is an input type text , you can do this by specifying the autocomplete attribute:

 <input type="text" autocomplete="off"/> 
+5
source

Attribute <INPUT ...>

AUTOCOMPLETE = ON | Off

  <input type="text" autocomplete="off"> 

Good reading

How to disable autocomplete form

+3
source

Source: https://habr.com/ru/post/1436082/


All Articles