{"action":"created","issue":{"url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/301","repository_url":"https://api.github.com/repos/assisrafael/angular-input-masks","labels_url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/301/comments","events_url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/301/events","html_url":"https://github.com/assisrafael/angular-input-masks/issues/301","id":260090659,"number":301,"title":"ui-br-phone-number shows an error when the model starts with a value","user":{"login":"ranpa","id":3819511,"avatar_url":"https://avatars0.githubusercontent.com/u/3819511?v=4","gravatar_id":"","url":"https://api.github.com/users/ranpa","html_url":"https://github.com/ranpa","followers_url":"https://api.github.com/users/ranpa/followers","following_url":"https://api.github.com/users/ranpa/following{/other_user}","gists_url":"https://api.github.com/users/ranpa/gists{/gist_id}","starred_url":"https://api.github.com/users/ranpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranpa/subscriptions","organizations_url":"https://api.github.com/users/ranpa/orgs","repos_url":"https://api.github.com/users/ranpa/repos","events_url":"https://api.github.com/users/ranpa/events{/privacy}","received_events_url":"https://api.github.com/users/ranpa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-24T14:52:46Z","updated_at":"2017-09-24T17:31:54Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am using the _ui-br-phone-number_ for validating phone numbers in my app and realized that if I previously have a value in the ng-model (set on controller), the _ui-br-phone-number_ reports an error and invalidate my form. If I delete the last number and re-type it, the form turns to valid.\r\n\r\n<img width=\"288\" alt=\"screen shot 2017-09-20 at 5 58 33 pm\" src=\"https://user-images.githubusercontent.com/3819511/30783684-8be8dcca-a11d-11e7-8a81-e6d90074170f.png\">\r\n\r\n`\"angular-input-masks\": \"^2.6.0\"`\r\n\r\n```\r\n\"ionic\": \"3.6.0\"\r\n\"type\": \"ionic1\"\r\n```\r\n\r\nTested on Google Chrome 61.0.3163.100\r\n\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/49677886-ui-br-phone-number-shows-an-error-when-the-model-starts-with-a-value?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/comments/331725649","html_url":"https://github.com/assisrafael/angular-input-masks/issues/301#issuecomment-331725649","issue_url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/301","id":331725649,"user":{"login":"assisrafael","id":1799825,"avatar_url":"https://avatars2.githubusercontent.com/u/1799825?v=4","gravatar_id":"","url":"https://api.github.com/users/assisrafael","html_url":"https://github.com/assisrafael","followers_url":"https://api.github.com/users/assisrafael/followers","following_url":"https://api.github.com/users/assisrafael/following{/other_user}","gists_url":"https://api.github.com/users/assisrafael/gists{/gist_id}","starred_url":"https://api.github.com/users/assisrafael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assisrafael/subscriptions","organizations_url":"https://api.github.com/users/assisrafael/orgs","repos_url":"https://api.github.com/users/assisrafael/repos","events_url":"https://api.github.com/users/assisrafael/events{/privacy}","received_events_url":"https://api.github.com/users/assisrafael/received_events","type":"User","site_admin":false},"created_at":"2017-09-24T17:31:54Z","updated_at":"2017-09-24T17:31:54Z","author_association":"OWNER","body":"What is the angular version you are using?"}}
{"actor":{"display_login":"assisrafael"}}