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

Hello we have an issue with this state #462

Open
Arturo777 opened this issue Jun 21, 2022 · 0 comments
Open

Hello we have an issue with this state #462

Arturo777 opened this issue Jun 21, 2022 · 0 comments

Comments

@Arturo777
Copy link

Arturo777 commented Jun 21, 2022

'Coahuila De Zaragoza',

This mexican state should be Coahuila instead of "Coahuila de Zaragoza", google apis return the first value.

You can test this issue with checkout by setting the street address as cuatro de diciembre Sagundoyou will see that the state changes to the wrong state.

Also if you see the returned components you will see Coahuila as the long_name:


[
    {
        "long_name": "Cuatro de Disijembre, Sagundo",
        "short_name": "Cuatro de Disijembre, Sagundo",
        "types": [
            "locality",
            "political"
        ]
    },
    {
        "long_name": "Coahuila",
        "short_name": "Coah.",
        "types": [
            "administrative_area_level_1",
            "political"
        ]
    },
    {
        "long_name": "Mexico",
        "short_name": "MX",
        "types": [
            "country",
            "political"
        ]
    },
    {
        "long_name": "27435",
        "short_name": "27435",
        "types": [
            "postal_code"
        ]
    }
]
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

No branches or pull requests

1 participant