{"action":"created","issue":{"url":"https://api.github.com/repos/jackocnr/intl-tel-input/issues/464","repository_url":"https://api.github.com/repos/jackocnr/intl-tel-input","labels_url":"https://api.github.com/repos/jackocnr/intl-tel-input/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/jackocnr/intl-tel-input/issues/464/comments","events_url":"https://api.github.com/repos/jackocnr/intl-tel-input/issues/464/events","html_url":"https://github.com/jackocnr/intl-tel-input/issues/464","id":172180110,"number":464,"title":"formatOnInit is removes appended 0 if number too short or too long","user":{"login":"JoeWoodward","id":442279,"avatar_url":"https://avatars.githubusercontent.com/u/442279?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeWoodward","html_url":"https://github.com/JoeWoodward","followers_url":"https://api.github.com/users/JoeWoodward/followers","following_url":"https://api.github.com/users/JoeWoodward/following{/other_user}","gists_url":"https://api.github.com/users/JoeWoodward/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeWoodward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeWoodward/subscriptions","organizations_url":"https://api.github.com/users/JoeWoodward/orgs","repos_url":"https://api.github.com/users/JoeWoodward/repos","events_url":"https://api.github.com/users/JoeWoodward/events{/privacy}","received_events_url":"https://api.github.com/users/JoeWoodward/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-19T17:25:56Z","updated_at":"2016-08-19T18:38:55Z","closed_at":"2016-08-19T18:38:55Z","body":"When you input a number that is shorter or longer than the formatOnInit expects then the 0 is not appended\r\n\r\nTyping +441234567890 then running `$('#phone').intlTelInput()` formats the number to 01234567890\r\nTyping +44123 then running `$('#phone').intlTelInput()` formats the number to 123\r\nTyping +4412345678901 then running `$('#phone').intlTelInput()` formats the number to 12345678901\r\n\r\nIdeally the national format would just replace the international dialling code regardless of the validity of the number"},"comment":{"url":"https://api.github.com/repos/jackocnr/intl-tel-input/issues/comments/241100267","html_url":"https://github.com/jackocnr/intl-tel-input/issues/464#issuecomment-241100267","issue_url":"https://api.github.com/repos/jackocnr/intl-tel-input/issues/464","id":241100267,"user":{"login":"jackocnr","id":1186883,"avatar_url":"https://avatars.githubusercontent.com/u/1186883?v=3","gravatar_id":"","url":"https://api.github.com/users/jackocnr","html_url":"https://github.com/jackocnr","followers_url":"https://api.github.com/users/jackocnr/followers","following_url":"https://api.github.com/users/jackocnr/following{/other_user}","gists_url":"https://api.github.com/users/jackocnr/gists{/gist_id}","starred_url":"https://api.github.com/users/jackocnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackocnr/subscriptions","organizations_url":"https://api.github.com/users/jackocnr/orgs","repos_url":"https://api.github.com/users/jackocnr/repos","events_url":"https://api.github.com/users/jackocnr/events{/privacy}","received_events_url":"https://api.github.com/users/jackocnr/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T18:38:55Z","updated_at":"2016-08-19T18:38:55Z","body":"We use [libphonenumber](https://github.com/googlei18n/libphonenumber) for formatting, so if you're having any issues I suggest you raise it with them."}}
{"actor":{"display_login":"jackocnr"}}