{"action":"created","issue":{"url":"https://api.github.com/repos/moroshko/react-autosuggest/issues/381","repository_url":"https://api.github.com/repos/moroshko/react-autosuggest","labels_url":"https://api.github.com/repos/moroshko/react-autosuggest/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/moroshko/react-autosuggest/issues/381/comments","events_url":"https://api.github.com/repos/moroshko/react-autosuggest/issues/381/events","html_url":"https://github.com/moroshko/react-autosuggest/issues/381","id":233939350,"number":381,"title":"Have onChange include the value if appropriate","user":{"login":"raybooysen","id":461957,"avatar_url":"https://avatars2.githubusercontent.com/u/461957?v=3","gravatar_id":"","url":"https://api.github.com/users/raybooysen","html_url":"https://github.com/raybooysen","followers_url":"https://api.github.com/users/raybooysen/followers","following_url":"https://api.github.com/users/raybooysen/following{/other_user}","gists_url":"https://api.github.com/users/raybooysen/gists{/gist_id}","starred_url":"https://api.github.com/users/raybooysen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raybooysen/subscriptions","organizations_url":"https://api.github.com/users/raybooysen/orgs","repos_url":"https://api.github.com/users/raybooysen/repos","events_url":"https://api.github.com/users/raybooysen/events{/privacy}","received_events_url":"https://api.github.com/users/raybooysen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-06T15:52:30Z","updated_at":"2017-06-07T22:01:48Z","closed_at":null,"body":"When onChange is raised, there is a potential that it matches an item that is in the available set of suggestions.\r\n\r\nIf it does match, it would be useful for the onChange handler to not only include the string value that was typed, but the matching suggestion.  This would mean that consumers would not have to do another lookup to find the suggestion that was chosen.\r\n\r\nThis is common when the suggestions are a list of complex objects that are acted upon once an item is selected.\r\n"},"comment":{"url":"https://api.github.com/repos/moroshko/react-autosuggest/issues/comments/306938117","html_url":"https://github.com/moroshko/react-autosuggest/issues/381#issuecomment-306938117","issue_url":"https://api.github.com/repos/moroshko/react-autosuggest/issues/381","id":306938117,"user":{"login":"moroshko","id":259753,"avatar_url":"https://avatars0.githubusercontent.com/u/259753?v=3","gravatar_id":"","url":"https://api.github.com/users/moroshko","html_url":"https://github.com/moroshko","followers_url":"https://api.github.com/users/moroshko/followers","following_url":"https://api.github.com/users/moroshko/following{/other_user}","gists_url":"https://api.github.com/users/moroshko/gists{/gist_id}","starred_url":"https://api.github.com/users/moroshko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moroshko/subscriptions","organizations_url":"https://api.github.com/users/moroshko/orgs","repos_url":"https://api.github.com/users/moroshko/repos","events_url":"https://api.github.com/users/moroshko/events{/privacy}","received_events_url":"https://api.github.com/users/moroshko/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T22:01:48Z","updated_at":"2017-06-07T22:01:48Z","body":"Sorry, I can't clearly see the use case you are trying to solve.\r\nCould you please create a Codepen that demonstrates the issue?"}}
{"actor":{"display_login":"moroshko"}}