Custom sidebar link Name should not trigger password managers

AI-generated summary

Users discussed an issue where custom sidebar link fields triggered password managers due to the field name containing “name”. supermathie requested a solution to prevent this behavior, noting that password managers like 1Password are overly sensitive to partial matches like link-name or link-displayName awesomerobot. supermathie expressed frustration over the lack of a universal standard attribute, such as a generic ignore class, to handle all password managers, referencing the complexity of web standards. awesomerobot agreed, noting that autocomplete="off" is not reliably effective. The thread was closed by sam, who reported that the issue no longer occurs on Firefox or Chrome, implying the problem has been resolved or mitigated in current browser versions.

Can we add a style (or… do whatever other magic is appropriate) to this field to explicitly not trigger password managers here?

6 Likes

Hmm yeah frustratingly it seems 1Password is trying to be smart and triggers this when the input has “name” in its name, so this gets picked up even though we call it link-name… it seems even partial matches like link-displayName will trigger it

https://github.com/discourse/discourse/pull/28559

4 Likes

data-1p-ignore… aaarrrghhh is there no generic class that works for all password managers to say “ignore this field”? :frowning:

6 Likes

hah yes, same reaction… ideally autocomplete="off" would work but it does not

6 Likes

No longer seeing this behavior on Firefox or Chrome.