{"action":"created","issue":{"url":"https://api.github.com/repos/Day8/re-com/issues/8","labels_url":"https://api.github.com/repos/Day8/re-com/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Day8/re-com/issues/8/comments","events_url":"https://api.github.com/repos/Day8/re-com/issues/8/events","html_url":"https://github.com/Day8/re-com/pull/8","id":72924035,"number":8,"title":"Fix :id-fn and :label-fn in dropdown component","user":{"login":"meowcakes","id":3435150,"avatar_url":"https://avatars.githubusercontent.com/u/3435150?v=3","gravatar_id":"","url":"https://api.github.com/users/meowcakes","html_url":"https://github.com/meowcakes","followers_url":"https://api.github.com/users/meowcakes/followers","following_url":"https://api.github.com/users/meowcakes/following{/other_user}","gists_url":"https://api.github.com/users/meowcakes/gists{/gist_id}","starred_url":"https://api.github.com/users/meowcakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meowcakes/subscriptions","organizations_url":"https://api.github.com/users/meowcakes/orgs","repos_url":"https://api.github.com/users/meowcakes/repos","events_url":"https://api.github.com/users/meowcakes/events{/privacy}","received_events_url":"https://api.github.com/users/meowcakes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-04T05:13:00Z","updated_at":"2015-05-07T04:41:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Day8/re-com/pulls/8","html_url":"https://github.com/Day8/re-com/pull/8","diff_url":"https://github.com/Day8/re-com/pull/8.diff","patch_url":"https://github.com/Day8/re-com/pull/8.patch"},"body":":id-fn and :label-fn do not work when displaying the currently selected value on the dropdown button, as it is still using the hard-coded keywords :id and :label elsewhere.\r\n\r\nAlso, the validation function should be ifn?, not fn?, so that you can use e.g. a keyword as the id-fn.\r\n\r\nNot sure how you will feel about the changes I've made to item-for-id, etc., in utils, as it is no longer really an \"id\" function but now a much more generic \"find this thing in a sequence using this mapping function\" function, although the name implies otherwise."},"comment":{"url":"https://api.github.com/repos/Day8/re-com/issues/comments/99713445","html_url":"https://github.com/Day8/re-com/pull/8#issuecomment-99713445","issue_url":"https://api.github.com/repos/Day8/re-com/issues/8","id":99713445,"user":{"login":"meowcakes","id":3435150,"avatar_url":"https://avatars.githubusercontent.com/u/3435150?v=3","gravatar_id":"","url":"https://api.github.com/users/meowcakes","html_url":"https://github.com/meowcakes","followers_url":"https://api.github.com/users/meowcakes/followers","following_url":"https://api.github.com/users/meowcakes/following{/other_user}","gists_url":"https://api.github.com/users/meowcakes/gists{/gist_id}","starred_url":"https://api.github.com/users/meowcakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meowcakes/subscriptions","organizations_url":"https://api.github.com/users/meowcakes/orgs","repos_url":"https://api.github.com/users/meowcakes/repos","events_url":"https://api.github.com/users/meowcakes/events{/privacy}","received_events_url":"https://api.github.com/users/meowcakes/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T04:41:47Z","updated_at":"2015-05-07T04:41:47Z","body":"Thanks!"}}