{"action":"created","issue":{"url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/84","labels_url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/84/comments","events_url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/84/events","html_url":"https://github.com/miguelcobain/ember-cli-selectize/issues/84","id":93560309,"number":84,"title":"How does this lib handle async items","user":{"login":"billybonks","id":1640136,"avatar_url":"https://avatars.githubusercontent.com/u/1640136?v=3","gravatar_id":"","url":"https://api.github.com/users/billybonks","html_url":"https://github.com/billybonks","followers_url":"https://api.github.com/users/billybonks/followers","following_url":"https://api.github.com/users/billybonks/following{/other_user}","gists_url":"https://api.github.com/users/billybonks/gists{/gist_id}","starred_url":"https://api.github.com/users/billybonks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billybonks/subscriptions","organizations_url":"https://api.github.com/users/billybonks/orgs","repos_url":"https://api.github.com/users/billybonks/repos","events_url":"https://api.github.com/users/billybonks/events{/privacy}","received_events_url":"https://api.github.com/users/billybonks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-07T15:39:04Z","updated_at":"2015-07-07T16:14:48Z","closed_at":null,"body":"lets say you want to load items based on a `store.find` call\r\n\r\nI have tried :\r\n* set the target variable with the new content when the promise resolves\r\n* set the target variable to empty array then merge it with the result of the promise"},"comment":{"url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/comments/119256374","html_url":"https://github.com/miguelcobain/ember-cli-selectize/issues/84#issuecomment-119256374","issue_url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/84","id":119256374,"user":{"login":"miguelcobain","id":631691,"avatar_url":"https://avatars.githubusercontent.com/u/631691?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcobain","html_url":"https://github.com/miguelcobain","followers_url":"https://api.github.com/users/miguelcobain/followers","following_url":"https://api.github.com/users/miguelcobain/following{/other_user}","gists_url":"https://api.github.com/users/miguelcobain/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcobain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcobain/subscriptions","organizations_url":"https://api.github.com/users/miguelcobain/orgs","repos_url":"https://api.github.com/users/miguelcobain/repos","events_url":"https://api.github.com/users/miguelcobain/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcobain/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T16:14:48Z","updated_at":"2015-07-07T16:14:48Z","body":"Offtopic:\r\nI don't really like to access the store from a component. Many people, including me, see it as an anti-pattern. The store isn't even injected in the components, for example.\r\nI would just try to pass the `wars` array from whatever the context is of the component you're building (probably a route or controller)."}}