EDGE bug: autocomplete="off" still displays previously entered information.

FUYÉERÉT ACCOUNT 86 Reputation points
2022-08-20T06:57:26.96+00:00

EDGE bug - when autocomplete is set to off, information that has been entered is not displayed.
edge recently stopped following this rule, using "autocomplete="off"" still shows the previous information, only the new-password attribute will make it disappear.
The input boxes of the mobile version of the website all display a clumsy list of previously entered information, which directly blocks the input method!

These sites are normal in chrome browser. But chrome browser autocomplete is set to off new-password attribute still shows the information that has been entered

Edge Version 104.0.1293.54 (official release) (64-bit)

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,125 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yu Zhou-MSFT 12,056 Reputation points Microsoft Vendor
    2022-08-22T07:23:17.913+00:00

    Hi @FUYÉERÉT ACCOUNT

    That's by design in chromium browsers. You can check this issue and it has been marked as WontFix. I think we can't change the situation.

    If you want to prevent autofilling in your own site, I think you can only use autocomplete="new-password". If you're not satisfied with Baidu search bar autocomplete feature, I think you can provide feedback to the site to see if they'll improve the user experience.

    Edit:

    I found another workaround. When I add another input field just behind the autocomplete="off" field, autocomplete="off" will work in Edge. You can put a hidden input behind it. You can refer to the sample code below, it works in both Edge and Chrome:

    <form action="/action_page.php">  
      First name: <input type="text" name="fname" autocomplete="off"><input type="text" name="dummy" style="display:none"><br>  
      Last name: <input type="text" name="lname" autocomplete="on"><br>  
      <input type="submit">  
    </form>  
    

    For the autocomplete="off" not working in Edge issue, you can also provide feedback to Edge team by pressing Alt+Shift+I in Edge. The Edge team will check the feedbacks and improve the product continuously. Thanks for your understading.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou


0 additional answers

Sort by: Most helpful