{"action":"created","issue":{"url":"https://api.github.com/repos/monterail/vue-multiselect/issues/97","repository_url":"https://api.github.com/repos/monterail/vue-multiselect","labels_url":"https://api.github.com/repos/monterail/vue-multiselect/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/monterail/vue-multiselect/issues/97/comments","events_url":"https://api.github.com/repos/monterail/vue-multiselect/issues/97/events","html_url":"https://github.com/monterail/vue-multiselect/issues/97","id":174622555,"number":97,"title":"Setting selected properties not reflected in dropdown state","user":{"login":"Sam-Gram","id":6521724,"avatar_url":"https://avatars.githubusercontent.com/u/6521724?v=3","gravatar_id":"","url":"https://api.github.com/users/Sam-Gram","html_url":"https://github.com/Sam-Gram","followers_url":"https://api.github.com/users/Sam-Gram/followers","following_url":"https://api.github.com/users/Sam-Gram/following{/other_user}","gists_url":"https://api.github.com/users/Sam-Gram/gists{/gist_id}","starred_url":"https://api.github.com/users/Sam-Gram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sam-Gram/subscriptions","organizations_url":"https://api.github.com/users/Sam-Gram/orgs","repos_url":"https://api.github.com/users/Sam-Gram/repos","events_url":"https://api.github.com/users/Sam-Gram/events{/privacy}","received_events_url":"https://api.github.com/users/Sam-Gram/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/monterail/vue-multiselect/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-01T20:50:14Z","updated_at":"2016-09-11T22:17:04Z","closed_at":null,"body":"When I programmatically add selected values to the multiselect, it doesn't reflect this in the dropdown.\r\n\r\n![vue-multiselect problem](https://cloud.githubusercontent.com/assets/6521724/18183669/aa618e10-7052-11e6-84f7-7ce107c2730b.png)\r\n\r\nNotice in this example that the 'DEEP RED', 'MELOGOLD', and 'OROBLANCO' varieties are all selected, but they do not show the normal selected state that vue-multiselect does super well in other instances. \r\n\r\nThanks in advance for any help with this.\r\n\r\nHere is my `jade` tag\r\n```\r\nmultiselect(:selected='filter.selected',\r\n                  :options='filter.data',\r\n                  :multiple='true',\r\n                  :searchable='true',\r\n                  :close-on-select='false',\r\n                  :clear-on-select='false',\r\n                  :limit='100',\r\n                  @update='updateMultiValue',\r\n                  :id='$index')\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/monterail/vue-multiselect/issues/comments/246208494","html_url":"https://github.com/monterail/vue-multiselect/issues/97#issuecomment-246208494","issue_url":"https://api.github.com/repos/monterail/vue-multiselect/issues/97","id":246208494,"user":{"login":"shentao","id":3737591,"avatar_url":"https://avatars.githubusercontent.com/u/3737591?v=3","gravatar_id":"","url":"https://api.github.com/users/shentao","html_url":"https://github.com/shentao","followers_url":"https://api.github.com/users/shentao/followers","following_url":"https://api.github.com/users/shentao/following{/other_user}","gists_url":"https://api.github.com/users/shentao/gists{/gist_id}","starred_url":"https://api.github.com/users/shentao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shentao/subscriptions","organizations_url":"https://api.github.com/users/shentao/orgs","repos_url":"https://api.github.com/users/shentao/repos","events_url":"https://api.github.com/users/shentao/events{/privacy}","received_events_url":"https://api.github.com/users/shentao/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T22:17:04Z","updated_at":"2016-09-11T22:17:04Z","body":"Could you provide a jsfiddle or something with the same data and options? I’ve been trying to reproduce this, but well, everything works.\r\nThe workaround feels really bad. What about just changing the array to an array of strings? Maybe that would be enough?"}}
{"actor":{"display_login":"shentao"}}