{"action":"opened","issue":{"url":"https://api.github.com/repos/hodgepodgers/ng-intl-tel-input/issues/85","repository_url":"https://api.github.com/repos/hodgepodgers/ng-intl-tel-input","labels_url":"https://api.github.com/repos/hodgepodgers/ng-intl-tel-input/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/hodgepodgers/ng-intl-tel-input/issues/85/comments","events_url":"https://api.github.com/repos/hodgepodgers/ng-intl-tel-input/issues/85/events","html_url":"https://github.com/hodgepodgers/ng-intl-tel-input/issues/85","id":194579981,"number":85,"title":"Model value is not updated when changing country after inserting number","user":{"login":"gasfab999","id":18697273,"avatar_url":"https://avatars.githubusercontent.com/u/18697273?v=3","gravatar_id":"","url":"https://api.github.com/users/gasfab999","html_url":"https://github.com/gasfab999","followers_url":"https://api.github.com/users/gasfab999/followers","following_url":"https://api.github.com/users/gasfab999/following{/other_user}","gists_url":"https://api.github.com/users/gasfab999/gists{/gist_id}","starred_url":"https://api.github.com/users/gasfab999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasfab999/subscriptions","organizations_url":"https://api.github.com/users/gasfab999/orgs","repos_url":"https://api.github.com/users/gasfab999/repos","events_url":"https://api.github.com/users/gasfab999/events{/privacy}","received_events_url":"https://api.github.com/users/gasfab999/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-09T12:00:09Z","updated_at":"2016-12-09T12:00:09Z","closed_at":null,"body":"I noticed that with the current versions there are some problems when changing the country after inserting the number. In this case the model value is not updated.\r\n\r\nTo reproduce the bug:\r\n1. type in telephone number\r\n2. change country\r\n\r\nI created a plunkr with the intl-tel-input version 9.0.0 and ng-intl-tel-input version 2.0.0 where you can reproduce the bug [http://plnkr.co/edit/2zs6F5?p=preview](http://plnkr.co/edit/2zs6F5?p=preview)\r\n\r\nHowever if I use intl-tel-input version 7.0.2 and ng-intl-tel-input version 2.0.0 it was updating the value correctly [http://plnkr.co/edit/Eh6Cip?p=preview](http://plnkr.co/edit/Eh6Cip?p=preview)\r\n\r\nTherefore we have currently to use the older version. Would it be possible to fix this problem or does anybody know why this problem occurs?\r\n\r\nThx"}}
{"actor":{"display_login":"gasfab999"}}