html input autocomplete off code example
Example 1: turn off autocomplete input html
<form method="post" action="/post/" autocomplete="off">
</form>
<input type="text" autocomplete="off">
Example 2: form input autocomplete off
<input autocomplete="off"></input>
Example 3: autocomplete off input
autocomplete="off"
Example 4: input without autocomplete
<input type="text" name="foo" autocomplete="off" />
Example 5: dont show suggestions in input hs
<input
id={field.name}
className="form-control"
type="text"
placeholder={field.name}
autoComplete="off"
{...fields}/>
Example 6: disable autocomplete javascript
someForm.setAttribute( "autocomplete", "off" );
someFormElm.setAttribute( "autocomplete", "off" );