{"action":"opened","issue":{"url":"https://api.github.com/repos/silviomoreto/bootstrap-select/issues/1595","repository_url":"https://api.github.com/repos/silviomoreto/bootstrap-select","labels_url":"https://api.github.com/repos/silviomoreto/bootstrap-select/issues/1595/labels{/name}","comments_url":"https://api.github.com/repos/silviomoreto/bootstrap-select/issues/1595/comments","events_url":"https://api.github.com/repos/silviomoreto/bootstrap-select/issues/1595/events","html_url":"https://github.com/silviomoreto/bootstrap-select/issues/1595","id":197046546,"number":1595,"title":"multiple select set value","user":{"login":"dimitrissch","id":9131269,"avatar_url":"https://avatars.githubusercontent.com/u/9131269?v=3","gravatar_id":"","url":"https://api.github.com/users/dimitrissch","html_url":"https://github.com/dimitrissch","followers_url":"https://api.github.com/users/dimitrissch/followers","following_url":"https://api.github.com/users/dimitrissch/following{/other_user}","gists_url":"https://api.github.com/users/dimitrissch/gists{/gist_id}","starred_url":"https://api.github.com/users/dimitrissch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimitrissch/subscriptions","organizations_url":"https://api.github.com/users/dimitrissch/orgs","repos_url":"https://api.github.com/users/dimitrissch/repos","events_url":"https://api.github.com/users/dimitrissch/events{/privacy}","received_events_url":"https://api.github.com/users/dimitrissch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-21T22:17:31Z","updated_at":"2016-12-21T22:17:31Z","closed_at":null,"body":"This is potentially my mistake or stupidness and not a bug but i am not able to select multiple values in the dropdown programmaticaly using variables.\r\nI tried passing an array:\r\n`var x = [ 'x','y','z'];\r\n$().selectpicker('val',x);\r\n`\r\nor even that:\r\n`$().selectpicker('val',[x]);\r\n` \r\nand i tried passing a string:\r\n`var y = 'x,y,z';\r\n$().selectpicker('val',[y]);\r\n`\r\nwith no effect.."}}
{"actor":{"display_login":"dimitrissch"}}