Autofill ignores 'autocomplete=off' for inputs labelled 'Town/City'

Options

Hi,

We've been trying to disable autofill for address fields in an application we're building. This has been successful with the use of autocomplete=off for most fields, but consistently I'm seeing autofill still shows up in 'Town/City'.

I've mocked up a very basic example in jsfiddle that also demonstrates the issue:

https://jsfiddle.net/Lfs37tzm/7/

Attachments

Here's a GIF of me clicking through some of the address fields on our application:

Note: The address that shows is a dummy address I added for testing purposes.

Envrionment**

  • 1Password X Version 2.2.2
  • Brave Version 1.34.80 Chromium: 97.0.4692.71 (Official Build) (x86_64)
  • I have form-filling enabled.

Steps

  1. Navigate to the https://jsfiddle.net/Lfs37tzm/7/
  2. Click through each of the rendered fields, and observe 1Password only offers form-filling for Town/City

1Password Version: 7.9.2
Extension Version: 2.2.2
OS Version: macOS 11.5.2

Comments

  • mikemccormick
    mikemccormick
    Community Member
    Options

    I forgot to include autocomplete=off in the inputs on that JSFiddle, but adding that attribute doesn't make any difference in my testing.

  • Joy_1P
    Joy_1P
    1Password Alumni
    Options

    Hi @mikemccormick! Sorry for the delay in getting back to you. It is strange that the inline menu is popping up for your Town/City field. I took a look at the code on JSFiddle and added autocomplete="off" to it. On my end, adding that does keep the inline menu from opening and making a suggestion to fill. Here is a recording: https://cln.sh/IuBFNr

    Could you add autocomplete="off" where I added it in my recording and see if it works for you? Let us know if you continue to run into issues.

This discussion has been closed.