Answers for "suggesting input tag"

30

turn off autocomplete input html

<form method="post" action="/post/" autocomplete="off">
	<!-- The entire form has autocomplete disabled. -->
</form>

<!-- or you turn it off for just one input -->
<input type="text" autocomplete="off">
Posted by: Guest on March-28-2020
5

disable browser autocomplete

<form method="post" action="/form" autocomplete="off">
[…]
</form>
Posted by: Guest on March-20-2020
0

dont show suggestions in input hs

<input
    id={field.name}
    className="form-control"
    type="text"
    placeholder={field.name}
    autoComplete="off"
    {...fields}/>
Posted by: Guest on December-09-2020

Browse Popular Code Answers by Language