thegamenicorus / react-native-phone-input

Phone input box for React Native
https://www.npmjs.com/package/react-native-phone-input
MIT License
396 stars 452 forks source link

County flag changed when type number #136

Open UmeshBaldaniya46 opened 4 years ago

UmeshBaldaniya46 commented 4 years ago

Hello Dear

I have used below code for phone input I am getting issues while enter input, I have select country canada and enter number, Flag become change to US.

<PhoneInput style={styles.enterMobileNumberInputStyle} ref={ref => { this.phone = ref; }} initialCountry='in' allowZeroAfterCountryCode={true} textStyle={{ fontSize: normalize(16), color: Colors.black, height: normalize(44)}} textProps={{ placeholder: 'Enter Mobile Number' }} pickerBackgroundColor={Colors.appColor} pickerButtonColor={Colors.white} autoFormat={true} />

I have attached video link here

https://drive.google.com/file/d/1NWSjk5bL9cbhXBKmgxlfvtmSAIf8e7wR/view

Thanks, Umesh

josevelaz commented 4 years ago

I have the same issue, is there a solution to that?

kukadiyaAni commented 4 years ago

I have the same issue, is there a solution to that?

pitstranslation commented 4 years ago

Same issue is there for countries with dial code, is there a solution to that?