You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!!
The text was updated successfully, but these errors were encountered:
Jeremy720
changed the title
Can't disable alphabetized preferred country list
Won't retain order of preferred country list
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!!
The text was updated successfully, but these errors were encountered: