{"action":"created","issue":{"url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/issues/17","labels_url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/issues/17/comments","events_url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/issues/17/events","html_url":"https://github.com/knownasilya/ember-cli-toggle/issues/17","id":58009618,"number":17,"title":"Documentation-functionality conflict","user":{"login":"sir-dunxalot","id":4495352,"avatar_url":"https://avatars.githubusercontent.com/u/4495352?v=3","gravatar_id":"","url":"https://api.github.com/users/sir-dunxalot","html_url":"https://github.com/sir-dunxalot","followers_url":"https://api.github.com/users/sir-dunxalot/followers","following_url":"https://api.github.com/users/sir-dunxalot/following{/other_user}","gists_url":"https://api.github.com/users/sir-dunxalot/gists{/gist_id}","starred_url":"https://api.github.com/users/sir-dunxalot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sir-dunxalot/subscriptions","organizations_url":"https://api.github.com/users/sir-dunxalot/orgs","repos_url":"https://api.github.com/users/sir-dunxalot/repos","events_url":"https://api.github.com/users/sir-dunxalot/events{/privacy}","received_events_url":"https://api.github.com/users/sir-dunxalot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/labels/needs-confirmation","name":"needs-confirmation","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/milestones/2","html_url":"https://github.com/knownasilya/ember-cli-toggle/milestones/v0.5.4","labels_url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/milestones/2/labels","id":1029171,"number":2,"title":"v0.5.4","description":null,"creator":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars.githubusercontent.com/u/34726?v=3","gravatar_id":"","url":"https://api.github.com/users/knownasilya","html_url":"https://github.com/knownasilya","followers_url":"https://api.github.com/users/knownasilya/followers","following_url":"https://api.github.com/users/knownasilya/following{/other_user}","gists_url":"https://api.github.com/users/knownasilya/gists{/gist_id}","starred_url":"https://api.github.com/users/knownasilya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knownasilya/subscriptions","organizations_url":"https://api.github.com/users/knownasilya/orgs","repos_url":"https://api.github.com/users/knownasilya/repos","events_url":"https://api.github.com/users/knownasilya/events{/privacy}","received_events_url":"https://api.github.com/users/knownasilya/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-03-19T13:09:48Z","updated_at":"2015-04-01T13:50:33Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-18T01:07:17Z","updated_at":"2015-04-01T13:52:54Z","closed_at":"2015-04-01T13:50:33Z","body":"The documentation says that adding `off` and `on` to a toggle should not change the value of a bound property unless you 'overload' the label/value:\r\n\r\n> Finally, it is sometimes the case that rather than a true or false value the toggle is meant to move between two discrete, but non-boolean states. In order to support this functionality there is an overloaded form of setting the on and off properties which not only sets a \"label\" for the state but also a \"value\". In our \"hey\" versus \"ho\" example you might do the following:\r\n\r\nThus, it is expected that `controller.toggled` is a boolean value equal to true or false in the following situation:\r\n\r\n```\r\n{{x-toggle value=controller.toggled showLabel='true' off='Hey' on='Ho'}}\r\n```\r\n\r\nHowever, in v0.1.15 of ember-cli-toggle, `controller.toggled` is always equal to `Ho` or `Hey` when it *should* be equal to `true` or `false`, respectively."},"comment":{"url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/issues/comments/88488085","html_url":"https://github.com/knownasilya/ember-cli-toggle/issues/17#issuecomment-88488085","issue_url":"https://api.github.com/repos/knownasilya/ember-cli-toggle/issues/17","id":88488085,"user":{"login":"sir-dunxalot","id":4495352,"avatar_url":"https://avatars.githubusercontent.com/u/4495352?v=3","gravatar_id":"","url":"https://api.github.com/users/sir-dunxalot","html_url":"https://github.com/sir-dunxalot","followers_url":"https://api.github.com/users/sir-dunxalot/followers","following_url":"https://api.github.com/users/sir-dunxalot/following{/other_user}","gists_url":"https://api.github.com/users/sir-dunxalot/gists{/gist_id}","starred_url":"https://api.github.com/users/sir-dunxalot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sir-dunxalot/subscriptions","organizations_url":"https://api.github.com/users/sir-dunxalot/orgs","repos_url":"https://api.github.com/users/sir-dunxalot/repos","events_url":"https://api.github.com/users/sir-dunxalot/events{/privacy}","received_events_url":"https://api.github.com/users/sir-dunxalot/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T13:52:54Z","updated_at":"2015-04-01T13:52:54Z","body":"Great, thank you."}}