Last pass password manager bug...
Hello everyone... I am currently working on a project and Last pass Password manager is adding elements to my html contact form. Has anyone faced this issue? If yes please how did you fix it?
This is the element it keeps adding. When I open my dev tools and remove it, It goes away but comes back after refresh
....
<div data-lastpass-icon-root="true" style="position: relative !important; height: 0px !important; width: 0px !important; float: left !important;"></div>
....
19 Replies
How to Disable the Browser Autocomplete and Autofill on HTML Form a...
Learn how to prevent browsers auto filling the input fields of HTML forms. Use autocomplete="off" to specify that autocomplete is disabled. See examples.
have you tried this?
https://support.lastpass.com/s/document-item?language=en_US&bundleId=lastpass&topicId=LastPass/c_lp_prevent_fields_from_being_filled_automatically.html&_LANG=enus
heres an official support page for this issue
Yes I have. I even tried data-lpignore="true" from stack overflow It still keeps shifting on refresh
Let me check this out
afan you show your form html
nvm i see now
wait nvm that aint your form
It is still on the auto Complete. I might choose to ignore it but users with the last pass password manager will run into the same issue.
show ur form
Here. I actually didn't know i could do this on discord😂 . It's my first time
On the email side of the form you will notice it shifts a bit from the right
i meant the html
here
you only have lp ignore on one of the fields
Yes. I actually removed the autocomplete="off" when it didn't work
in name attribute you can add "search" keyword, apparently it disables it but seems like lp is just inconsistent
its a hacky way but idk
This is the element added by the last pass in dev tools
You mean name = "search"
yeah
or well name="email-search"
It still didn't work
seems like you're doomed
i just asked chat gpt and i have already tired all its suggestions. I will just have to disable the extension and hope users of the project dont have it installed
For anyone who has this problem, There is a temporary fix... Go into your password manager options and disable autocomplete and enable "allow website to disable auto complete" then inn your html add autocomplete off
Should you uninstall and reinstall the extension you have to do same settings again