initialCountryData not working
tgb2006 opened this issue · 4 comments
tgb2006 commented
initialCountryData: PhoneCountryData.fromMap({'country': 'India', 'phoneCode': '+91', 'countryCode': 'IN'})
not working it is just select the first country in the list
caseyryan commented
I don't understand what you're trying to do
caseyryan commented
I just checked it and it works. Use the approach like this
initialCountryData: PhoneCodes.getPhoneCountryDataByCountryCode( 'IN'),
mingg123 commented
hello. I also experienced the same issue and was able to solve it with the solution you mentioned. thank you!
initialCountryData: PhoneCodes.getPhoneCountryDataByCountryCode('KR'),
caseyryan commented
hello. I also experienced the same issue and was able to solve it with the solution you mentioned. thank you!
initialCountryData: PhoneCodes.getPhoneCountryDataByCountryCode('KR'),
You're welcome. I'm glad that helped