nikhiln / ngx-international-phone-number

A simple international telephone number input for Angular
MIT License
43 stars 79 forks source link

Preferred Countries list #41

Open azeemkhalid04 opened 5 years ago

azeemkhalid04 commented 5 years ago

It would be great if you can provide us an option to show some of counties on top of the list in drop down. There may be an option to pass array of preferredCountries[] which will be listed on top. Please see attachment.

Thanks in advance.

image

mcabram commented 5 years ago

This feature is like something in intl-tel-input.

azeemkhalid04 commented 5 years ago

This feature is like something in intl-tel-input.

Exactly, but intl-tel-input is not angular compatible.

mcabram commented 4 years ago

@azeemkhalid04 Yep, I used to use intl-tel-input. However, it has some bugs in validating phone number... I'm working on how to make a preferred coutries list based on this plug-in.

jek-bao-choo commented 4 years ago

@esoyke might fix this for you. https://github.com/esoyke/ngx-international-phone-number2 Put this there. He might help.

mcabram commented 4 years ago

This feature is like something in intl-tel-input.

Exactly, but intl-tel-input is not angular compatible.

https://github.com/jackocnr/intl-tel-input/issues/802#issuecomment-564814518 This may help.