3 ms·
The inputmode attribute does at least some of what you’re looking for: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode https://dev
by robin_reala 5y ago
The inputmode attribute does at least some of what you’re looking for: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...
(also, why on earth would you choose to block password managers?)
- TurningCanadian 5y agoThe only time I can think of when you'd want to block a password manager / form filler is when it gets the heuristic wrong. It's why autocomplete=one-time-code exists.
- daveoc64 5y agoThings like an admin form in a web app - I might be setting the password for a new user account, but it's not my password, so I don't want my browser to store it. One-time codes or temporary passwords are another example where the password manager may think it's worth saving, despite being used once.
- tshaddox 5y agoYour first example is precisely what autocomplete=“new-password” is for: https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion https://developer.mozilla.org/en-US/docs/Web/Security/Securi...