Cannot display valid phone number in input from angular model
Opened this issue · 1 comments
vitaly-vrublevskyy commented
Step to reproduce:
- Pass '+380989067571' as model value
Actual Result: Input is blank
Expected Result: Should be populated input with 0989067571 value and country Ukraine
peterquiel commented
Having the same problem, but the formatter is not the cause.
It works, if the input is rendered before the ng-model is stable. I guess, the element.intlTelInput('setNumber', value)
is not working, when the element is not attached to the dom.