Skip to content

Update US Street Address Format #42

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kwilcoxebsco
Copy link

In the US, the address format typically follows this structure:
[Street Address] [Subpremise]
[City], [State] [Postal Code]

There is usually no comma between the street address and the subpremise. The comma is used to separate the city from the state. When selecting an address from the autocomplete, the module appends the comma to the end of the street1 field:

Screenshot 2024-05-08 at 4 36 00 PM

This PR, removes the comma between the street and subpremise in the fillInAddress function.

Screenshot 2024-05-08 at 4 35 22 PM

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