{"action":"created","issue":{"url":"https://api.github.com/repos/stefanfoulis/django-phonenumber-field/issues/82","repository_url":"https://api.github.com/repos/stefanfoulis/django-phonenumber-field","labels_url":"https://api.github.com/repos/stefanfoulis/django-phonenumber-field/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/stefanfoulis/django-phonenumber-field/issues/82/comments","events_url":"https://api.github.com/repos/stefanfoulis/django-phonenumber-field/issues/82/events","html_url":"https://github.com/stefanfoulis/django-phonenumber-field/issues/82","id":104128591,"number":82,"title":"Widget initial by label, not value (country code US does not initialize as United States)","user":{"login":"nwaxiomatic","id":6418424,"avatar_url":"https://avatars.githubusercontent.com/u/6418424?v=3","gravatar_id":"","url":"https://api.github.com/users/nwaxiomatic","html_url":"https://github.com/nwaxiomatic","followers_url":"https://api.github.com/users/nwaxiomatic/followers","following_url":"https://api.github.com/users/nwaxiomatic/following{/other_user}","gists_url":"https://api.github.com/users/nwaxiomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/nwaxiomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwaxiomatic/subscriptions","organizations_url":"https://api.github.com/users/nwaxiomatic/orgs","repos_url":"https://api.github.com/users/nwaxiomatic/repos","events_url":"https://api.github.com/users/nwaxiomatic/events{/privacy}","received_events_url":"https://api.github.com/users/nwaxiomatic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-31T20:31:48Z","updated_at":"2016-03-30T07:54:54Z","closed_at":"2016-03-30T07:42:02Z","body":"I am trying to set the initial value of the Prefix select, the issue is that when using initial='US' the select defaults to \"American Samoa\" because it is the first item in the list with the value of \"+1\", rather than \"United States\".\r\n\r\nIs there a way to set the initial value based on the label rather than the value because of the duplicate country codes?"},"comment":{"url":"https://api.github.com/repos/stefanfoulis/django-phonenumber-field/issues/comments/203305247","html_url":"https://github.com/stefanfoulis/django-phonenumber-field/issues/82#issuecomment-203305247","issue_url":"https://api.github.com/repos/stefanfoulis/django-phonenumber-field/issues/82","id":203305247,"user":{"login":"nwaxiomatic","id":6418424,"avatar_url":"https://avatars.githubusercontent.com/u/6418424?v=3","gravatar_id":"","url":"https://api.github.com/users/nwaxiomatic","html_url":"https://github.com/nwaxiomatic","followers_url":"https://api.github.com/users/nwaxiomatic/followers","following_url":"https://api.github.com/users/nwaxiomatic/following{/other_user}","gists_url":"https://api.github.com/users/nwaxiomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/nwaxiomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwaxiomatic/subscriptions","organizations_url":"https://api.github.com/users/nwaxiomatic/orgs","repos_url":"https://api.github.com/users/nwaxiomatic/repos","events_url":"https://api.github.com/users/nwaxiomatic/events{/privacy}","received_events_url":"https://api.github.com/users/nwaxiomatic/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T07:54:54Z","updated_at":"2016-03-30T07:54:54Z","body":"v 0.7.2 has not fixed this issue"}}