vanshg395 / intl_phone_field

A customised Flutter TextFormField to input international phone number along with country code.
https://pub.dev/packages/intl_phone_field
MIT License
177 stars 505 forks source link

country code issue #370

Open Adelmu21 opened 9 months ago

Adelmu21 commented 9 months ago
MarekLipskij commented 8 months ago

I can confirm the above. It seems that the function to change country, does not affect the PhoneNumber model. The problem appears to be in the onChanged function. It creates a new PhoneNumber model which onCountryChanged does not have access to.