-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autocomplete="off" does not work in chrome #247
Comments
hmm, this doesn't happen to me on busbud, did you fix it there? This definitely seems like a nasty bug in Chrome. Maybe it has something to do with having autofill enabled on that website before? Could you share a bit more in which setup is necessary for this to happen? |
Note that the off value is the one that makes it work in FF and Safari, so I fear it will be hard to value both of those requirements |
@Haroenv yes, fixed yesterday with one of the workarounds, specifically, by adding additional hidden input
exactly, you have to be returning user, which uses our search form multiple times see video of repro: https://www.youtube.com/watch?v=ByfqCOAQXZI Unfortunately, I have no right to setup preview env for you to see bug on busbud in action. Let me know if video is unclear. |
Thanks for your detailed bug report by the way, we will try to see if we can find a solution. It might be quite simple to implement here since we already have two inputs. It would be really nice if you already have to solution to take a look if you can do a PR 😄 |
Can't promise, but will try to find time to do a pr on weekends. |
Cool! If you don’t find time to do a PR, a clear suggestion on which attribute to change where would also be sufficient, it’s still pretty confusing what to put where :) |
I'm having this issue (intermittenly) with various clients. Chrome ignores the A workaround is to instead set the value of |
@sdwvit From what I understand from reading bug logs / other people's feedback is that it depends on specific versions of each browser. Some obey the I'm not able to re-create this at all on my local machine but I'm seeing clients and other users with this issue. |
Thanks for your research, it still needs to be checked, but it seems like in some situations the browser, specifically Chrome, doesn't listen to |
I observed the issue on my machine and changing |
Seems like this is decided then, let's change |
Here you are @Haroenv ^ |
Just a heads up, it seems the latest version of Chrome is ignoring |
ugh, this is extremely annoying. Sorry that we can't fix this any more than already done. Thanks for the heads-up @Braunson. Do you know of a write-up somewhere on the situation? |
@Haroenv I'm looking for the Google Bug ticket link but it was a 1.5 months ago, Google may have re-enabled watching it again. Not a ton that can be done anyway until Chrome starts respecting the attribute 😄 |
thanks for the heads up @Braunson |
Check the following plugin: https://terrylinooo.github.io/jquery.disableAutoFill/ It works by randomizing the input name value to prevent Chrome to remember what you filled. It will restore back to original field name when submitting the form. |
See https://bugs.chromium.org/p/chromium/issues/detail?id=370363#c7
Expected behaviour: chrome native autocomplete is not drawn on top of autocomplete.js autocomplete.
Workaround (either):
<input style="opacity: 0; position: absolute" />
right before your autocompleted inputThe text was updated successfully, but these errors were encountered: