mareczek/international-phone-number

What is your thought on binding selected country to a model?

Opened this issue · 3 comments

Some time I need to pass the country selected along with the phone number. What's your though on that? I could submit a pull request but I need to make sure that you find it would be useful. An example of the markup could be:

<input name="mobileNumber" type="text" class="form-control" international-phone-number number-type="MOBILE" ng-model="loginForm.mobile_number" country-model="loginForm.country">