Chrome auto-fill form problem

recently, when I was developing a project, I found that when I chose a browser to remember the password, chrome would display the user name in one of the search boxes on the page. As shown in the figure below, I searched for a long time but couldn"t find a suitable solution. What is the reason for this problem and how to solve it? Thank you very much for your help! This problem has also occurred when browsing other websites in the past, and chrome will fill in the login information of a certain site into the input box of irrelevant pages.

Mar.11,2021

I have seen a page before, and his solution goes like this:
write two hidden tags at the top of the page to undertake the automatic filling of Chrome:

  

in general, autocomplete= "off" can solve

Menu