{"action":"created","issue":{"url":"https://api.github.com/repos/thefrontside/emberx-select/issues/134","repository_url":"https://api.github.com/repos/thefrontside/emberx-select","labels_url":"https://api.github.com/repos/thefrontside/emberx-select/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/thefrontside/emberx-select/issues/134/comments","events_url":"https://api.github.com/repos/thefrontside/emberx-select/issues/134/events","html_url":"https://github.com/thefrontside/emberx-select/issues/134","id":169167990,"number":134,"title":"Fire action with default value when in one-way mode","user":{"login":"cafreeman","id":7971393,"avatar_url":"https://avatars.githubusercontent.com/u/7971393?v=3","gravatar_id":"","url":"https://api.github.com/users/cafreeman","html_url":"https://github.com/cafreeman","followers_url":"https://api.github.com/users/cafreeman/followers","following_url":"https://api.github.com/users/cafreeman/following{/other_user}","gists_url":"https://api.github.com/users/cafreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/cafreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cafreeman/subscriptions","organizations_url":"https://api.github.com/users/cafreeman/orgs","repos_url":"https://api.github.com/users/cafreeman/repos","events_url":"https://api.github.com/users/cafreeman/events{/privacy}","received_events_url":"https://api.github.com/users/cafreeman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thefrontside/emberx-select/labels/Bug","name":"Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/thefrontside/emberx-select/milestones/6","html_url":"https://github.com/thefrontside/emberx-select/milestones/v2.2.2","labels_url":"https://api.github.com/repos/thefrontside/emberx-select/milestones/6/labels","id":1921295,"number":6,"title":"v2.2.2","description":"","creator":{"login":"Robdel12","id":2072894,"avatar_url":"https://avatars.githubusercontent.com/u/2072894?v=3","gravatar_id":"","url":"https://api.github.com/users/Robdel12","html_url":"https://github.com/Robdel12","followers_url":"https://api.github.com/users/Robdel12/followers","following_url":"https://api.github.com/users/Robdel12/following{/other_user}","gists_url":"https://api.github.com/users/Robdel12/gists{/gist_id}","starred_url":"https://api.github.com/users/Robdel12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robdel12/subscriptions","organizations_url":"https://api.github.com/users/Robdel12/orgs","repos_url":"https://api.github.com/users/Robdel12/repos","events_url":"https://api.github.com/users/Robdel12/events{/privacy}","received_events_url":"https://api.github.com/users/Robdel12/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2016-08-03T15:58:56Z","updated_at":"2016-09-04T00:05:10Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-03T15:57:18Z","updated_at":"2016-09-04T00:05:10Z","closed_at":"2016-09-04T00:05:10Z","body":"### Version of x-select: 2.21\r\n\r\n### Ember Version / Ember CLI Version:\r\nember-cli: 2.7.0\r\nnode: 5.12.0\r\nos: darwin x64\r\n\r\n### Expected Behavior\r\n\r\nWhen populating an `x-select` with a list of options, such as\r\n```hbs\r\n{{#x-select one-way=true value=selectedValue action=(action (mut selectedValue)) as |xs|}}\r\n  {{#each things as |thing|}}\r\n    {{xs.option value=thing}}\r\n  {{/each}}\r\n{{/x-select\r\n```\r\n\r\nI would expect that `selectedValue` would be set to the first item in the `things` array on initial render since the select box itself will show that value as selected.\r\n\r\n### Actual Behavior\r\n\r\nInstead, the select box does show the correct value, but the underlying value remains untouched until the user manually triggers a change event.\r\n\r\n### Steps To Reproduce:\r\nSee example above\r\n"},"comment":{"url":"https://api.github.com/repos/thefrontside/emberx-select/issues/comments/244576613","html_url":"https://github.com/thefrontside/emberx-select/issues/134#issuecomment-244576613","issue_url":"https://api.github.com/repos/thefrontside/emberx-select/issues/134","id":244576613,"user":{"login":"Robdel12","id":2072894,"avatar_url":"https://avatars.githubusercontent.com/u/2072894?v=3","gravatar_id":"","url":"https://api.github.com/users/Robdel12","html_url":"https://github.com/Robdel12","followers_url":"https://api.github.com/users/Robdel12/followers","following_url":"https://api.github.com/users/Robdel12/following{/other_user}","gists_url":"https://api.github.com/users/Robdel12/gists{/gist_id}","starred_url":"https://api.github.com/users/Robdel12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robdel12/subscriptions","organizations_url":"https://api.github.com/users/Robdel12/orgs","repos_url":"https://api.github.com/users/Robdel12/repos","events_url":"https://api.github.com/users/Robdel12/events{/privacy}","received_events_url":"https://api.github.com/users/Robdel12/received_events","type":"User","site_admin":false},"created_at":"2016-09-04T00:05:10Z","updated_at":"2016-09-04T00:05:10Z","body":"Released with 2.2.2 https://github.com/thefrontside/emberx-select/commit/69ece008aaf0b795500dcd9e634d7365c6bb6c7a"}}
{"actor":{"display_login":"Robdel12"}}