Adding

data-lpignore="true"

to an input field disabled the grey LastPass [...] box for me.

Sourced from LastPass.com

Answer from whatismybrowser.com on Stack Overflow
🌐
Reddit
reddit.com › r/lastpass › as a developer, how do i reliably disable lastpass autofill on my website? i have a good reason, promise.
r/Lastpass on Reddit: As a developer, how do I reliably disable Lastpass autofill on my website? I have a good reason, promise.
April 25, 2023 -

I'm one of the author's of FormKit, a framework for building forms in Vue. I've tried every way from Sunday to stop Lastpass from attempting to autofill the inputs on our documentation site (specifically the ones in the primary mega-nav) but I cannot get it to stop.

I have tried:

  • adding autocomplete="off" to both the wrapping form element and the inputs themselves. (this seems like the most sane standards-based way to go)

  • adding a name and id that includes search in the name to discourage the Lastpass from autofilling out of fear of leaking sensitive information. (I think this one got patched out)

  • using the data-lpignore="true attribute (I'm really not a fan of this one because it's so vendor specific, but it also didn't work).

If anyone knows a way as a developer to prevent Lastpass from autofilling on a website you control I would love to hear it! We've gotten multiple messages from users who visit our site who have Lastpass installed about this issue. When the pop-up appears it steals focus from the nav which closes the mega-nav panel and makes navigating the site very difficult.

Thanks for taking a look!

🌐
JumpCloud
jumpcloud.com › home › support › disable lastpass autofill in the admin portal
Disable LastPass AutoFill in the Admin Portal - JumpCloud
January 11, 2024 - Click on the LastPass browser extension and select Account Options. Navigate to Extension Preferences > Advanced. Select the Respect AutoComplete=off: allow websites to disable Autofill checkbox.
🌐
LastPass
support.lastpass.com › s › document-item
Customer
Loading · ×Sorry to interrupt · Refresh
🌐
Supademo
supademo.com › blog › guides › how-to-stop-lastpass-from-autofill
How to Stop LastPass from Autofill
October 18, 2024 - Is it possible to turn off autofill completely in LastPass? Yes, you can completely disable autofill by going to the LastPass browser extension settings and turning off the "Autofill" option in the general settings section.
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 75189530 › prevent-fields-from-being-auto-filled-by-lastpass-extension
Prevent fields from being auto-filled by LastPass Extension
I tried various things from other SO posts but nothing worked. I tried adding variations of "-search-" to my <asp:TextBox /> but it triggers some error (maybe a research word or something?). For now I'm having to disable autofill on all sites via the LastPass global extension settings.
🌐
YouTube
youtube.com › watch
How to Stop LastPass from Autofill
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.