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

Won't retain order of preferred country list #113

Open
Jeremy720 opened this issue Nov 8, 2021 · 0 comments
Open

Won't retain order of preferred country list #113

Jeremy720 opened this issue Nov 8, 2021 · 0 comments

Comments

@Jeremy720
Copy link

Jeremy720 commented Nov 8, 2021

Countries are not displayed in the order provided in the array, as they are automatically alphabetized.
For instance:
preferredCountries={['us', 'ca', 'gb', 'mx']}
ends up being listed as Canada, Mexico, United Kingdom, United States of America.

I would like to retain the order in which I pass the countries. Maybe autoFormat={false} could handle this.

Thank you!!

@Jeremy720 Jeremy720 changed the title Can't disable alphabetized preferred country list Won't retain order of preferred country list Nov 8, 2021
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