Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you turn off browser suggestions on html input [duplicate]

How do you turn this off browser suggestions on html input?

like image 530
Fast Arrows Avatar asked Dec 28 '17 09:12

Fast Arrows


People also ask

How do I turn off input suggestions in HTML?

Add autocomplete="off" onto <form> element; Add hidden <input> with autocomplete="false" as a first children element of the form.

Can I turn off autofill for a specific website?

Actually you can disable the autofill for usernames and passwords for just one site. Go to settings in the Chrome browser then to passwords. Scroll down to find the website that you do not want autofilled. Then you hit on the 3 dots and remove it from the list of saved passwords.


Video Answer


2 Answers

Just use autocomplete on your inputs:

autocomplete="off"

Something like:

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

You can always switch back to autocomplete="on" when required.

like image 160
Aniket Sahrawat Avatar answered Oct 06 '22 11:10

Aniket Sahrawat


<input type="text" class="form-control" autocomplete="off" />
like image 37
Mahmod Abu Jehad Avatar answered Oct 06 '22 12:10

Mahmod Abu Jehad