{"action":"created","issue":{"url":"https://api.github.com/repos/nikgraf/belle/issues/135","labels_url":"https://api.github.com/repos/nikgraf/belle/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/nikgraf/belle/issues/135/comments","events_url":"https://api.github.com/repos/nikgraf/belle/issues/135/events","html_url":"https://github.com/nikgraf/belle/issues/135","id":95957146,"number":135,"title":"Unexpected ComboBox default filter lookup behaviour","user":{"login":"alanrsoares","id":273334,"avatar_url":"https://avatars.githubusercontent.com/u/273334?v=3","gravatar_id":"","url":"https://api.github.com/users/alanrsoares","html_url":"https://github.com/alanrsoares","followers_url":"https://api.github.com/users/alanrsoares/followers","following_url":"https://api.github.com/users/alanrsoares/following{/other_user}","gists_url":"https://api.github.com/users/alanrsoares/gists{/gist_id}","starred_url":"https://api.github.com/users/alanrsoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanrsoares/subscriptions","organizations_url":"https://api.github.com/users/alanrsoares/orgs","repos_url":"https://api.github.com/users/alanrsoares/repos","events_url":"https://api.github.com/users/alanrsoares/events{/privacy}","received_events_url":"https://api.github.com/users/alanrsoares/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nikgraf/belle/labels/ComboBox","name":"ComboBox","color":"bfe5bf"},{"url":"https://api.github.com/repos/nikgraf/belle/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-19T23:11:06Z","updated_at":"2015-07-20T13:02:50Z","closed_at":null,"body":"Hey guys. I'm using Belle's ComboBox as replacement to @JedWatson's react-select.\r\nSome issues I've spotted regarding the default behaviour:\r\n- Default filter lookup only caters Option.value, not the text (which would be the user expected behaviour)\r\n- Default filter lookup expect that Option.value is a string, when the most common use cases is mapping ids (numbers most of the time) as values."},"comment":{"url":"https://api.github.com/repos/nikgraf/belle/issues/comments/122876891","html_url":"https://github.com/nikgraf/belle/issues/135#issuecomment-122876891","issue_url":"https://api.github.com/repos/nikgraf/belle/issues/135","id":122876891,"user":{"login":"alanrsoares","id":273334,"avatar_url":"https://avatars.githubusercontent.com/u/273334?v=3","gravatar_id":"","url":"https://api.github.com/users/alanrsoares","html_url":"https://github.com/alanrsoares","followers_url":"https://api.github.com/users/alanrsoares/followers","following_url":"https://api.github.com/users/alanrsoares/following{/other_user}","gists_url":"https://api.github.com/users/alanrsoares/gists{/gist_id}","starred_url":"https://api.github.com/users/alanrsoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanrsoares/subscriptions","organizations_url":"https://api.github.com/users/alanrsoares/orgs","repos_url":"https://api.github.com/users/alanrsoares/repos","events_url":"https://api.github.com/users/alanrsoares/events{/privacy}","received_events_url":"https://api.github.com/users/alanrsoares/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T13:02:50Z","updated_at":"2015-07-20T13:02:50Z","body":"@nikgraf, that's exactly the point. In my use case I managed to get it\nworking given the current constraints. But it felt quite hacky. Having to\nmanually tell on the onUpdate callback whether that was an input change or\nan option being selected.\n\nOn Tuesday, 21 July 2015, Nikolaus Graf <notifications@github.com> wrote:\n\n> @jpuri <https://github.com/jpuri> I almost have it. A lot of people don't\n> use see/use it as an Input like the Google search rather then a Select with\n> better UX for large sets of data. Think like the use-case of typeahead\n> https://twitter.github.io/typeahead.js/. When someone searches for a\n> Twitter user the onChange with typing is not helpful. What you want to know\n> is if the user selected with typing or mouse click is in the list of the\n> available Options you provided. It's important because if you have a match\n> you can redirect to the profile. If it's not a match you don't want to do\n> anything and let the user continue it's search.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/nikgraf/belle/issues/135#issuecomment-122876115>.\n>\n"}}