{"action":"created","issue":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/660","repository_url":"https://api.github.com/repos/JedWatson/react-select","labels_url":"https://api.github.com/repos/JedWatson/react-select/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/JedWatson/react-select/issues/660/comments","events_url":"https://api.github.com/repos/JedWatson/react-select/issues/660/events","html_url":"https://github.com/JedWatson/react-select/pull/660","id":121574809,"number":660,"title":"#658 Allow Create functionality [WIP]","user":{"login":"vickyonit","id":2297951,"avatar_url":"https://avatars.githubusercontent.com/u/2297951?v=3","gravatar_id":"","url":"https://api.github.com/users/vickyonit","html_url":"https://github.com/vickyonit","followers_url":"https://api.github.com/users/vickyonit/followers","following_url":"https://api.github.com/users/vickyonit/following{/other_user}","gists_url":"https://api.github.com/users/vickyonit/gists{/gist_id}","starred_url":"https://api.github.com/users/vickyonit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vickyonit/subscriptions","organizations_url":"https://api.github.com/users/vickyonit/orgs","repos_url":"https://api.github.com/users/vickyonit/repos","events_url":"https://api.github.com/users/vickyonit/events{/privacy}","received_events_url":"https://api.github.com/users/vickyonit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-12-10T20:52:54Z","updated_at":"2016-05-18T02:19:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JedWatson/react-select/pulls/660","html_url":"https://github.com/JedWatson/react-select/pull/660","diff_url":"https://github.com/JedWatson/react-select/pull/660.diff","patch_url":"https://github.com/JedWatson/react-select/pull/660.patch"},"body":"### Fix for following issues:\r\n\r\nhttps://github.com/JedWatson/react-select/issues/658\r\nhttps://github.com/JedWatson/react-select/issues/586\r\n\r\n### Tech Changes:\r\n\r\n* Modifies ```Option``` to render the \"Add \" label field if option is create\r\n* Modifies ```renderMenu``` to show the new ```Option``` if ```allowCreate``` in the list\r\n* Modifies Select Test Cases - Removed redundant tests\r\n\r\n### Assumptions:\r\n\r\n*  ```addLabelText``` contains ```{label}``` in it.\r\n*  ```newOptionCreator``` always contains the following structure \r\n   ```{\r\n             value: value,\r\n             label: value,\r\n             create: true\r\n   }```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/comments/219907794","html_url":"https://github.com/JedWatson/react-select/pull/660#issuecomment-219907794","issue_url":"https://api.github.com/repos/JedWatson/react-select/issues/660","id":219907794,"user":{"login":"kopaygorodsky","id":2415637,"avatar_url":"https://avatars.githubusercontent.com/u/2415637?v=3","gravatar_id":"","url":"https://api.github.com/users/kopaygorodsky","html_url":"https://github.com/kopaygorodsky","followers_url":"https://api.github.com/users/kopaygorodsky/followers","following_url":"https://api.github.com/users/kopaygorodsky/following{/other_user}","gists_url":"https://api.github.com/users/kopaygorodsky/gists{/gist_id}","starred_url":"https://api.github.com/users/kopaygorodsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kopaygorodsky/subscriptions","organizations_url":"https://api.github.com/users/kopaygorodsky/orgs","repos_url":"https://api.github.com/users/kopaygorodsky/repos","events_url":"https://api.github.com/users/kopaygorodsky/events{/privacy}","received_events_url":"https://api.github.com/users/kopaygorodsky/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T02:19:23Z","updated_at":"2016-05-18T02:19:23Z","body":"+1\r\n"}}