Skip to content

[Bug]: Chrome form autocomplete pop-up blocks Symbiota field autocomplete #633

@zygoballus

Description

@zygoballus

Symbiota portal name

Ecdysis

What happened?

Screen Shot 2024-10-08 at 7 48 12 PM

See screenshot above. Although the country, stateprovince, and county input fields all have autocomplete="off", Chrome does not respect this setting and shows the form autocomplete pop-up anyway based on the names of the fields. On multiple occasions, this has caused people to enter "United Arab Emirates" instead of "United States".

There are two ways to fix this:

  1. Rename the fields to something that Chrome will not recognize as being associated with an address. This would require extra work on the processing side, however.
  2. Set autocomplete to something not recognized by Chrome, like autocomplete="nope" or autocomplete="ffcountry", (but not autocomplete="country").

More information can be found at https://adamsilver.io/blog/stopping-chrome-from-ignoring-autocomplete-off/, https://stackoverflow.com/questions/12374442/chrome-ignores-autocomplete-off, and https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill.

What operational systems are you seeing the problem on?

No response

What browsers are you seeing the problem on?

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions