Createable does work according to example/docs
See original GitHub issueSo 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
The 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.
Can you tell me if the sample is broken, there’s a bug somewhere, or I just don’t get it?
import React from "react";
import ReactDOM from "react-dom";
import Creatable from 'react-select'
function App() {
let options = [{ label: 'Item11', value: 1 },
{ label: 'Item12', value: 2 }]
return (
<div className="App">
<h1>Hello CodeSandbox</h1>
<Creatable options={options}/>
</div>
);
}
const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Solr - Adding JSON Document - Stack Overflow
The json file books.json exist in the exampledocs directory, so according to ... around parameters might not do what you expect them to...
Read more >Hubspot Working Example - Docs & Tutorials - n8n community
Is there anyone to help me to create a workflow for an Hubspot Form Submit, I couldn't make it work. Hubspot Integration [GOT...
Read more >Uploading Data with Solr Cell using Apache Tika
Working with this framework, Solr's ExtractingRequestHandler uses Tika internally ... This command will simply start Solr and create a core/collection named ...
Read more >Python Read JSON File – How to Load ... - freeCodeCamp
How JSON and Python Dictionaries work together. ... JSON format to create a Python dictionary that we can access, work with, and modify....
Read more >Doesnt work Creatable #3417 - JedWatson/react-select - GitHub
HI! Thank you a lot for react-select 2 ! Very cool select. But i have one problem/bug with Creatable. In v2 you change...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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 🙂
Hello -
In an effort to sustain the
react-select
project going forward, we’re closing old issues.We understand this might be inconvenient but in the best interest of supporting the broader community we have to direct our efforts towards the current major version.
If you aren’t using the latest version of
react-select
please consider upgrading to see if it resolves any issues you’re having.However, if you feel this issue is still relevant and you’d like us to review it - please leave a comment and we’ll do our best to get back to you!