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

Issue with sub-regions not loading #70

Open
windnagelnsidc opened this issue Mar 11, 2024 · 3 comments
Open

Issue with sub-regions not loading #70

windnagelnsidc opened this issue Mar 11, 2024 · 3 comments

Comments

@windnagelnsidc
Copy link
Collaborator

windnagelnsidc commented Mar 11, 2024

Using Firefox 123.0.1 (64-bit), I see a bug when loading the sub-regions.
Here's an example of the steps I do that reproduce the issue:

  1. Do a fresh load of the app in integration and select Western United States from the 3 green buttons
  2. Click the "Select a Region" drop down and then select the "State / Country subdivision level 1" radio button
  3. Select a state (Idaho, for example)
  4. Click the "Region" dropdown and select Alaska. You'll see that the sub-regions fail to load and this message is displayed "Failed to load sub-regions. Please select another region! t.collectionChoices[e] is undefined"

I don't know if this is related but when I do that same steps above but for step 4 I select Canada instead, the sub-regions load but the radio button for "State / Country subdivision level 1" is still selected. Alaska doesn't have a "State / Country subdivision level 1" option so maybe that's part of the issue? Should each super region reset to "None" upon selection of a new super region?

Image

@windnagelnsidc windnagelnsidc converted this from a draft issue Mar 11, 2024
@windnagelnsidc windnagelnsidc changed the title Issue with sub-regions loading Issue with sub-regions not loading Mar 11, 2024
@mfisher87
Copy link
Contributor

@windnagelnsidc can you please click the dropdown arrow next to the error and show what is inside?

@windnagelnsidc
Copy link
Collaborator Author

@mfisher87 Done. I updated the attached image.

@mfisher87
Copy link
Contributor

Could be related to https://github.com/jotaijs/jotai-tanstack-query/issues/65 (not using a link to avoid spamming the source issue; we're not sure yet if actually related)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants