caseyryan/flutter_multi_formatter

initialCountryData not working

tgb2006 opened this issue · 4 comments

initialCountryData: PhoneCountryData.fromMap({'country': 'India', 'phoneCode': '+91', 'countryCode': 'IN'})

not working it is just select the first country in the list

I don't understand what you're trying to do

I just checked it and it works. Use the approach like this

initialCountryData: PhoneCodes.getPhoneCountryDataByCountryCode( 'IN'),

hello. I also experienced the same issue and was able to solve it with the solution you mentioned. thank you!

initialCountryData: PhoneCodes.getPhoneCountryDataByCountryCode('KR'),

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