react-native-phone-input icon indicating copy to clipboard operation
react-native-phone-input copied to clipboard

Non alphabetical list

Open DavitVosk opened this issue 7 years ago • 2 comments

Thanks for awesome package.

I am passing countriesList prop to use my own countries where the items are not places in alphabetical form. But the package handles it itself. How can I prevent this? Thanks for answer

DavitVosk avatar Jun 22 '18 06:06 DavitVosk

Ok, I see that in getAll() function you order countries list by name. Please can you add some prop (for example orderBy prop) so that the users can choose whether they want to have ordered or non ordered list?

DavitVosk avatar Jun 22 '18 06:06 DavitVosk

I created a fork and added that option. Please have a look and merge into your package. Thanks

https://github.com/DavitVosk/react-native-phone-input

DavitVosk avatar Jun 22 '18 06:06 DavitVosk