mareczek / international-phone-number

AngularJS directive implementing intl-tel-input (https://github.com/Bluefieldscom/intl-tel-input)
139 stars 132 forks source link

Model binding do not work on 0.0.13 #73

Open RomanKisilenko opened 8 years ago

RomanKisilenko commented 8 years ago

We are using your directive as

<input value="+1" type="tel" international-phone-number auto-hide-dial-code="false" class="phone" name="phoneCountryCode" ng-model="phoneCountryCode" required>

When we switch from 0.0.11 version to 0.0.13, the model bingeing no longer works. We always get empty phoneCountryCode on form submit.

mgoldsborough commented 8 years ago

Same issue here.

This is the 0.0.11 version, which works: http://plnkr.co/edit/mZzk5uksvofAFUowMgdR?p=preview

This is the 0.0.13 version, which is broken: http://plnkr.co/edit/DYyfGj?p=preview

skfd commented 8 years ago

Can you help me reproduce it? This plunkr looks fine.