How do you turn this off browser suggestions on html input?
Asked
Active
Viewed 2,265 times
3 Answers
12
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.
mikemaccana
- 94,893
- 84
- 350
- 433
Aniket Sahrawat
- 11,710
- 3
- 36
- 63
0
According to Mozilla developer documentation the form element attribute autocomplete prevents form data from being cached in older browsers.
<input type="text" name="foo" autocomplete="off" />
The password manager always prompts if it wants to save a password. Passwords are not saved without permission from the user.
We are the third browser to implement this change, after IE and Chrome.
TarangP
- 2,682
- 5
- 20
- 37