Not show the country code when choose Antarctica.
torretorich opened this issue · 1 comments
torretorich commented
Issue Description
[FILL THIS OUT]
Steps to Reproduce / Code Snippets
[FILL THIS OUT]
Expected Results
[FILL THIS OUT]
Additional Information
- Nodejs version: [FILL THIS OUT]
- React version: []
- React Native version: [0.068]
- react-native-country-picker-modal version: [2.0.0]
- Platform(s) (iOS, Android, web, or all?): [iOS, Android]
- TypeScript version: [FILL THIS OUT]
when i choose antarctica i don't any country code please solve my issue anyone.
DeepakSharma04 commented
In this Library some countries which don't have calling code by default it's 0. But it cannot get when we select those and what i did if calling code is empty , i set default '0' .
selectCountryPhone = (country) => { this.setState({ callingCodePhone: CallingCode != '' ? CallingCode : '0' }); };