{"action":"created","issue":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/3186","repository_url":"https://api.github.com/repos/JedWatson/react-select","labels_url":"https://api.github.com/repos/JedWatson/react-select/issues/3186/labels{/name}","comments_url":"https://api.github.com/repos/JedWatson/react-select/issues/3186/comments","events_url":"https://api.github.com/repos/JedWatson/react-select/issues/3186/events","html_url":"https://github.com/JedWatson/react-select/issues/3186","id":378545210,"node_id":"MDU6SXNzdWUzNzg1NDUyMTA=","number":3186,"title":"Createable does work according to example/docs","user":{"login":"mfreeman-xtivia","id":10734467,"node_id":"MDQ6VXNlcjEwNzM0NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/10734467?v=4","gravatar_id":"","url":"https://api.github.com/users/mfreeman-xtivia","html_url":"https://github.com/mfreeman-xtivia","followers_url":"https://api.github.com/users/mfreeman-xtivia/followers","following_url":"https://api.github.com/users/mfreeman-xtivia/following{/other_user}","gists_url":"https://api.github.com/users/mfreeman-xtivia/gists{/gist_id}","starred_url":"https://api.github.com/users/mfreeman-xtivia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfreeman-xtivia/subscriptions","organizations_url":"https://api.github.com/users/mfreeman-xtivia/orgs","repos_url":"https://api.github.com/users/mfreeman-xtivia/repos","events_url":"https://api.github.com/users/mfreeman-xtivia/events{/privacy}","received_events_url":"https://api.github.com/users/mfreeman-xtivia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-08T01:54:02Z","updated_at":"2018-11-16T04:45:47Z","closed_at":null,"author_association":"NONE","body":"So this has been driving me for nuts for hours and I'm just not convinced that it works as advertised in the simplest example here at [here](https://react-select.com/creatable)\r\n\r\nThe example below reflects a simple adaption (no Typescript) of the example there and *NOTHING* I can do in terms of props will get it to generate the \"_Create xxx_\" display of the new option being entered  in the control that appears at the bottom of the options list in the sample.\r\n\r\nCan you tell me if the sample is broken, there's a bug somewhere, or I just don't get it?\r\n```\r\nimport React from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport Creatable from 'react-select'\r\n\r\nfunction App() {\r\n  let options = [{ label: 'Item11', value: 1 }, \r\n                 {  label: 'Item12', value: 2 }]\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Hello CodeSandbox</h1>\r\n     <Creatable options={options}/>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById(\"root\");\r\nReactDOM.render(<App />, rootElement);\r\n```"},"comment":{"url":"https://api.github.com/repos/JedWatson/react-select/issues/comments/439280774","html_url":"https://github.com/JedWatson/react-select/issues/3186#issuecomment-439280774","issue_url":"https://api.github.com/repos/JedWatson/react-select/issues/3186","id":439280774,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTI4MDc3NA==","user":{"login":"ajaymathur","id":9667784,"node_id":"MDQ6VXNlcjk2Njc3ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9667784?v=4","gravatar_id":"","url":"https://api.github.com/users/ajaymathur","html_url":"https://github.com/ajaymathur","followers_url":"https://api.github.com/users/ajaymathur/followers","following_url":"https://api.github.com/users/ajaymathur/following{/other_user}","gists_url":"https://api.github.com/users/ajaymathur/gists{/gist_id}","starred_url":"https://api.github.com/users/ajaymathur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajaymathur/subscriptions","organizations_url":"https://api.github.com/users/ajaymathur/orgs","repos_url":"https://api.github.com/users/ajaymathur/repos","events_url":"https://api.github.com/users/ajaymathur/events{/privacy}","received_events_url":"https://api.github.com/users/ajaymathur/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T04:45:47Z","updated_at":"2018-11-16T04:45:47Z","author_association":"CONTRIBUTOR","body":"@rovnyart Team is already aware of the issue and there is a PR to fix this. Please take a look at https://github.com/JedWatson/react-select/pull/2990 🙂 "}}
{"actor":{"display_login":"ajaymathur"}}