Closed arrkaye closed 6 years ago
Check out my fork: Custom countries
Hi @HasanAlyazidi ,
Thanks for you PR. veryawesome.
My pleasure
I am passing array to countries list, app is getting crash
Can you share your code?
this.state = { countriesList : ['us'] } <PhoneInput ref={(ref) => { this.phone = ref; }} countriesList = {this.state.countriesList} autoFormat = {true} textStyle = {{color: '#fff',fontSize:scale(13)}} />
Let me know If I am passing anything incorrect?
@HasanAlyazidi Thanks Brother for Such a Quick Reply, I figure out, I am passing the Json list to countriesList props. Thanks
How can I limit countries to one country Please explain How this possible
I don't need the entire list..
Is it possible to pass in an array of countries to show in the picker? E.g. us, gb, fr