{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/1829","repository_url":"https://api.github.com/repos/angular-ui/ui-select","labels_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1829/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1829/comments","events_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1829/events","html_url":"https://github.com/angular-ui/ui-select/issues/1829","id":183495640,"number":1829,"title":"Selected item is not being marked as selected in the choices","user":{"login":"SpencerKaiser","id":6445731,"avatar_url":"https://avatars.githubusercontent.com/u/6445731?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerKaiser","html_url":"https://github.com/SpencerKaiser","followers_url":"https://api.github.com/users/SpencerKaiser/followers","following_url":"https://api.github.com/users/SpencerKaiser/following{/other_user}","gists_url":"https://api.github.com/users/SpencerKaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerKaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerKaiser/subscriptions","organizations_url":"https://api.github.com/users/SpencerKaiser/orgs","repos_url":"https://api.github.com/users/SpencerKaiser/repos","events_url":"https://api.github.com/users/SpencerKaiser/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerKaiser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-17T18:47:46Z","updated_at":"2016-10-23T17:34:45Z","closed_at":null,"body":"### Bug description:\r\nAfter selecting an option from the dropdown (or in my case, after retrieving dropdown data using `refresh`), the selected option is not marked as selected in the dropdown. Instead, the first item in the list is shown as selected (or will be selected on return).\r\n\r\nSorry if this is a duplicate but I've been searching for hours and haven't found anything helpful. Ideally, you would be able to specify a key with which to match the selected item and the corresponding item in the dropdown. If this exists, it's not clearly documented. If it doesn't exist, please add this functionality if possible!!\r\n\r\nThe issue is reproducible in the ui-select plunker [\"Bind to Single Property\"](http://plnkr.co/edit/x9pHRB?p=preview) as well as most of the other plunkers. To reproduce, open the ui-select and choose \"Adrian\" then open the ui-select again and \"Adam\" will be marked as selected. This plunker binds the model to a specific value of the object, but even if you change it to where the selected object is the exact object from the dropdown, the issue persists.\r\n\r\nUI-Select: 0.19.3\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/comments/255601936","html_url":"https://github.com/angular-ui/ui-select/issues/1829#issuecomment-255601936","issue_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1829","id":255601936,"user":{"login":"Jefiozie","id":17835373,"avatar_url":"https://avatars.githubusercontent.com/u/17835373?v=3","gravatar_id":"","url":"https://api.github.com/users/Jefiozie","html_url":"https://github.com/Jefiozie","followers_url":"https://api.github.com/users/Jefiozie/followers","following_url":"https://api.github.com/users/Jefiozie/following{/other_user}","gists_url":"https://api.github.com/users/Jefiozie/gists{/gist_id}","starred_url":"https://api.github.com/users/Jefiozie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jefiozie/subscriptions","organizations_url":"https://api.github.com/users/Jefiozie/orgs","repos_url":"https://api.github.com/users/Jefiozie/repos","events_url":"https://api.github.com/users/Jefiozie/events{/privacy}","received_events_url":"https://api.github.com/users/Jefiozie/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T17:34:45Z","updated_at":"2016-10-23T17:34:45Z","body":"okay, and when searching the highlighting should go to the searched item?\r\n"}}
{"actor":{"display_login":"Jefiozie"}}