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

Google API only allows first 5 restrictions. Not using the selected country as a restriction. #4

Open
PascalBrouwers opened this issue May 8, 2019 · 0 comments

Comments

@PascalBrouwers
Copy link

Google API only allows first 5 restrictions.

Now the code adds ALL countries from the country dropdown.
See https://github.com/danslo/CleanCheckoutAutocomplete/blob/master/src/view/frontend/web/js/view/autocomplete.js#L38 and https://github.com/danslo/CleanCheckoutAutocomplete/blob/master/src/view/frontend/web/js/view/autocomplete.js#L118

What would work better is to get the selected country first and then add the rest of the dropdown instead.

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