international-phone-number
international-phone-number copied to clipboard
0.0.16 : Binding initialization fails, field remains empty
Since version 0.0.16, the binding seems not to be initialized properly when a number is first set via ngModel. I can easily reproduce the problem:
0.0.15 : http://plnkr.co/edit/0LvSD4GEgmnlnlUk4RZY?p=preview 0.0.16 : http://plnkr.co/edit/DOzjJXGAbdlQVSHa2ij6?p=preview
Am I doing something wrong here ?
I think there is no assignation of the number.
I added this line:
element.intlTelInput("setNumber", newValue);
on line 72, and is working now.
Hope this helps.