material-ui-phone-number icon indicating copy to clipboard operation
material-ui-phone-number copied to clipboard

Won't retain order of preferred country list

Open Jeremy720 opened this issue 3 years ago • 0 comments

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 avatar Nov 08 '21 20:11 Jeremy720