{"action":"created","issue":{"url":"https://api.github.com/repos/ianharrigan/haxeui/issues/343","repository_url":"https://api.github.com/repos/ianharrigan/haxeui","labels_url":"https://api.github.com/repos/ianharrigan/haxeui/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/ianharrigan/haxeui/issues/343/comments","events_url":"https://api.github.com/repos/ianharrigan/haxeui/issues/343/events","html_url":"https://github.com/ianharrigan/haxeui/issues/343","id":140212903,"number":343,"title":"Impossible to completely deselect OptionBoxes?","user":{"login":"TheSHEEEP","id":1766205,"avatar_url":"https://avatars.githubusercontent.com/u/1766205?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSHEEEP","html_url":"https://github.com/TheSHEEEP","followers_url":"https://api.github.com/users/TheSHEEEP/followers","following_url":"https://api.github.com/users/TheSHEEEP/following{/other_user}","gists_url":"https://api.github.com/users/TheSHEEEP/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSHEEEP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSHEEEP/subscriptions","organizations_url":"https://api.github.com/users/TheSHEEEP/orgs","repos_url":"https://api.github.com/users/TheSHEEEP/repos","events_url":"https://api.github.com/users/TheSHEEEP/events{/privacy}","received_events_url":"https://api.github.com/users/TheSHEEEP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T15:30:09Z","updated_at":"2016-03-17T08:40:18Z","closed_at":null,"body":"Assume a situation where three OptionBoxes belong to one group.\r\nNow, as the boxes are created, all of them are unselected.\r\n\r\nBut as soon as one of them was clicked, thus selected, it becomes impossible to deselect all of them.\r\nEven when manually setting box.selected = false for all boxes of a group, the last clicked one remains active.\r\n\r\nTested on Flash and Windows.\r\n\r\nSo far, I can only work around this issue by introducing an additional, invisible \"none\" Option that I select when I want the others to be deselected."},"comment":{"url":"https://api.github.com/repos/ianharrigan/haxeui/issues/comments/197764300","html_url":"https://github.com/ianharrigan/haxeui/issues/343#issuecomment-197764300","issue_url":"https://api.github.com/repos/ianharrigan/haxeui/issues/343","id":197764300,"user":{"login":"TheSHEEEP","id":1766205,"avatar_url":"https://avatars.githubusercontent.com/u/1766205?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSHEEEP","html_url":"https://github.com/TheSHEEEP","followers_url":"https://api.github.com/users/TheSHEEEP/followers","following_url":"https://api.github.com/users/TheSHEEEP/following{/other_user}","gists_url":"https://api.github.com/users/TheSHEEEP/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSHEEEP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSHEEEP/subscriptions","organizations_url":"https://api.github.com/users/TheSHEEEP/orgs","repos_url":"https://api.github.com/users/TheSHEEEP/repos","events_url":"https://api.github.com/users/TheSHEEEP/events{/privacy}","received_events_url":"https://api.github.com/users/TheSHEEEP/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T08:40:18Z","updated_at":"2016-03-17T08:40:18Z","body":"The use case is that I have a list where you select elements.\r\nWhen an element is selected, its details are displayed in another part of the app. One of the details is such an option selection. By default, nothing is selected there.\r\nWhen you select a new item, the details part of the app is not completely scrapped and created anew - that would be a resource & performance waste. Instead, everything is reset to the default state and then the details of the newly selected item are updated - which may mean that nothing in the option selection is selected. Thus, it is possible that one selected option becomes no selected option.\r\n\r\nI hope that made it somewhat clear ;)"}}