tanansatpal / ngx-mat-intl-tel-input

MIT License
62 stars 115 forks source link

Input value is not displayed! #166

Open khitrukhina opened 2 years ago

khitrukhina commented 2 years ago

This issue is appearing only when USA country was saved (may be somewhere else too). When we are going to the form where previously saved value patched - input value is empty, nevertheless we can see manually that value exists. In dev tools we can see ng-reflect-value attribute, which is empty. But after clicking on the input, value appears. All options of control triggering are not working

PS. Figured out that the problem is that library sets the default value, which is first in the preffered countries list and that is considered like country change. But when I patch saved number which has usa dial code, that is not considered like country change.

localhost_4200_users (22) localhost_4200_users (21) localhost_4200_users (20)

rbalet commented 4 months ago

@khitrukhina Can you try it again here and file an issue if the error still is happening ?