How can chrome not display "use the password for the following"?

in chrome, when the mouse hovers over an input type=password, the prompt "use the password of the following" appears if you have already remembered the password through the browser.

this problem can be solved by manually removing the saved password through the setting of chrome.

can I avoid this prompt through code?

Mar.20,2021

this may be a design problem. In the past, there was a autocomplete attribute to control whether it was disabled, but later the browser thought that this feature should belong to the user, not the developer, and then did not support it.

if you really want it, you can only change it to text and then control it through css and js .

Menu