react-phone-input icon indicating copy to clipboard operation
react-phone-input copied to clipboard

Ability to exclude area codes from dropdown (

Open Dhq opened this issue 7 years ago • 2 comments

In our app we don't wish to list all the possible area codes for each country, for example the ones in US and Canada. It results in the list being much larger than it needs to be without adding much of value (in our opinion).

A property for the option to exclude these would be great!

Dhq avatar Oct 24 '17 11:10 Dhq

Same thing we also need , also don't want the '+' on start of phone number but it has to manage internally that which country that number belongs to.

pbpraveen1988 avatar Oct 28 '17 09:10 pbpraveen1988

I've tried forking and made a fix for this. All looks fine on the dev server, but when i build and link the repo in the project that is supposed to use it it doesn't work (looks like there are multiple versions of React loaded). I get the same problem if I revert my changes as well, so not sure if it is a problem with the current state of this repo that the resulting build file is broken?

Dhq avatar Nov 01 '17 07:11 Dhq