Open AntonioA-D-C opened 9 months ago
Hello, I have the same problem, but looking at the code it is not currently possible, because it chooses the first position of the country's area code.
you can see in this link: https://github.com/garganurag893/react-native-phone-number-input/blob/master/lib/index.js
this library use this packages react-native-country-picker-modal and then list data "DO":{"currency":["DOP"],"callingCode":["1809","1829","1849"],"callingCode":["3906698","379"]. for this reason show the first callingCode.
Countries like Vatican City and Dominican Republic have multiple calling codes which are displayed on the list but are unable to be selected, instead it defaults to the first, how to deal with this?
![image](https://github.com/garganurag893/react-native-phone-number-input/assets/67211786/8cec2679-1ee5-4891-9ced-f2fa9ee00531)