filmov
tv
How to disable form autofill in Chrome without disabling autocomplete in HTML

Показать описание
In this video, we find out how can we disable Chrome's autofill feature on input types to prevent them from being automatically populated when the page loads.
The solution is to use the autocomplete="new-password" along with input type.
Chrome ignores autocomplete="off" and autocomplete="false". However, they put new-password in as a special clause to stop new password forms from being auto-filled.
The solution is to use the autocomplete="new-password" along with input type.
Chrome ignores autocomplete="off" and autocomplete="false". However, they put new-password in as a special clause to stop new password forms from being auto-filled.