{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/downshift/issues/207","repository_url":"https://api.github.com/repos/paypal/downshift","labels_url":"https://api.github.com/repos/paypal/downshift/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/paypal/downshift/issues/207/comments","events_url":"https://api.github.com/repos/paypal/downshift/issues/207/events","html_url":"https://github.com/paypal/downshift/issues/207","id":261764844,"number":207,"title":"index prop required in getItemProps","user":{"login":"hozefaj","id":2084833,"avatar_url":"https://avatars1.githubusercontent.com/u/2084833?v=4","gravatar_id":"","url":"https://api.github.com/users/hozefaj","html_url":"https://github.com/hozefaj","followers_url":"https://api.github.com/users/hozefaj/followers","following_url":"https://api.github.com/users/hozefaj/following{/other_user}","gists_url":"https://api.github.com/users/hozefaj/gists{/gist_id}","starred_url":"https://api.github.com/users/hozefaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hozefaj/subscriptions","organizations_url":"https://api.github.com/users/hozefaj/orgs","repos_url":"https://api.github.com/users/hozefaj/repos","events_url":"https://api.github.com/users/hozefaj/events{/privacy}","received_events_url":"https://api.github.com/users/hozefaj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-29T20:41:32Z","updated_at":"2017-09-29T21:15:21Z","closed_at":"2017-09-29T21:15:21Z","author_association":"NONE","body":"The [Readme](https://github.com/paypal/downshift#getitemprops) mentions that `index` is optional  parameter in `getItemProps`. \r\n\r\nHowever omitting `index` out, leads to error. Checkout https://codesandbox.io/s/rkn35nxjm. Once user types a value into the `input` field, code throws the error.\r\n\r\n**Possible fix**\r\nUpdate doc to reflect this behaviour. Happy to send a PR with the change."},"comment":{"url":"https://api.github.com/repos/paypal/downshift/issues/comments/333240968","html_url":"https://github.com/paypal/downshift/issues/207#issuecomment-333240968","issue_url":"https://api.github.com/repos/paypal/downshift/issues/207","id":333240968,"user":{"login":"tansongyang","id":9488719,"avatar_url":"https://avatars3.githubusercontent.com/u/9488719?v=4","gravatar_id":"","url":"https://api.github.com/users/tansongyang","html_url":"https://github.com/tansongyang","followers_url":"https://api.github.com/users/tansongyang/followers","following_url":"https://api.github.com/users/tansongyang/following{/other_user}","gists_url":"https://api.github.com/users/tansongyang/gists{/gist_id}","starred_url":"https://api.github.com/users/tansongyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tansongyang/subscriptions","organizations_url":"https://api.github.com/users/tansongyang/orgs","repos_url":"https://api.github.com/users/tansongyang/repos","events_url":"https://api.github.com/users/tansongyang/events{/privacy}","received_events_url":"https://api.github.com/users/tansongyang/received_events","type":"User","site_admin":false},"created_at":"2017-09-29T21:15:21Z","updated_at":"2017-09-29T21:15:21Z","author_association":"COLLABORATOR","body":"Closing because the linked example uses version 1.0.0. `index` was made optional in [1.2.0](https://github.com/paypal/downshift/releases/tag/v1.2.0). You can get the behavior you want by upgrading."}}
{"actor":{"display_login":"tansongyang"}}