Skip to content
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

Choosing an address from the auto-complete list fails to separate the address into it's parts, leaving the full address in the street1 field #41

Open
stevecomrie opened this issue Nov 2, 2021 · 2 comments
Labels
Bug Report Something isn't working

Comments

@stevecomrie
Copy link

Steps to re-create:

  1. Create or edit any entry that has an Address field associated with it.
  2. Start typing an address like: 100 Main Street.
  3. Choose an option from the auto-complete list, and everything works fine.
  4. Re-focus on the street1 field and choose a different option, and everything works fine.
  5. If you make a different selection from the auto-complete list each time you re-enter the field, everything works fine, but if you make the same selection twice in a row, the auto-complete field populates "street1" with the full address / city / state / country.

One caveat that I noticed is that if you make a change to any other part of the location address in-between making the same selection twice in a row, then everything seems to work normally.

The bug only appears if you make a choice, then re-enter the street1 field, and make the same choice again from the auto-complete list.

I've only experienced this bug through the admin panel. The code provided to re-create the auto-complete functionality on the front-end doesn't have the same issue.

Kazam_screencast_00010.mp4
@lindseydiloreto lindseydiloreto added the Bug Report Something isn't working label Nov 2, 2021
@lindseydiloreto
Copy link
Collaborator

Note to self... Chatted with Andrew about a possible solution to this issue. Check Discord DMs from today.

@laurabennett
Copy link

I'm seeing this same issue with auto complete on front-end forms. I've followed the documentation and my ids match accordingly with the js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants