react-native-phone-input
react-native-phone-input copied to clipboard
Cannot read property 'open' of undefined
When I hit the function in the example
onPressFlag() {
this.myCountryPicker.open()
}
it says
@michaelVictoriaDev change your function from
onPressFlag() { this.myCountryPicker.open() } to
onPressFlag = () => { this.myCountryPicker.open(); }
Actually this is binding issue