Skip to content

Conversation

@siman4457
Copy link

Allow users to select United States as a country when making a gym request.

Issue:
Previously when a user selected United States as a country when creating a Gym Request, the form would display the error "Invalid Country". Upon closer inspection, it turned out that selecting United States resulted in a null value for country. This is due to two selections that start with "United States":

  • United States
  • United States Minor Outlying Islands

Solution:
Add a check for when a user selects United States specifically and emit matchedItem.

Allow user to select United States as a country when making a gym request
@siman4457 siman4457 marked this pull request as draft June 5, 2022 03:18
@siman4457 siman4457 marked this pull request as ready for review June 5, 2022 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant