international-phone-number icon indicating copy to clipboard operation
international-phone-number copied to clipboard

country code & extension

Open dacio opened this issue 9 years ago • 2 comments

sorry, not an issue, but a (hopefully quick) question... how do you separate & grab the country code from the ng-model set on the directive, especially if users use the dropdown to select their country? similarly, if enabled, how do you separate the extension?

plunkr (based on @skfd's): http://plnkr.co/edit/KacViEe1yN9Tc5UPJgks

(lmk if there's a more appropriate forum to ask these types of questions, and I'll post there instead)

dacio avatar Sep 18 '15 23:09 dacio

Any idea how to grab the country code. I am looking for a way to grab the country code while saving.

vpratti avatar Jan 05 '16 00:01 vpratti

I couldn't figure it out, so I switched to https://github.com/hodgepodgers/ng-intl-tel-input, where the model is the full phone number.

GaloisGirl avatar Feb 09 '16 21:02 GaloisGirl