-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
makeCreatableSelect(...) not working #4206
Comments
Greetings @DragonRaider5 ,
The reason it does not work in the manner you are using it is because this method needs to be wrapped in a As for why it is designed as such, I would suspect that it makes for better testing separation. That's all to say that importing If this satisfies your question, please feel free to close this issue. |
Hey @ebonow , I think this is very confusing from an API standpoint, as I am aware that it apparently doesn't work because the StateManager is missing. This is because the |
I've run into this issue as well. My use-case is to make creatable from custom react-select component (basically just extending Select and rewriting one method). That's what |
Same for me, I have a custom styled |
any updates here? My use case is the same as the above ones: have a custom used in lots of places in my codebase and want to reuse it to support creatable options. |
Good news, bad news. Bad news, Good news, it's being replaced with a hook called Hoping to get the beta released this week. There is a Version 5 roadmap #4559 outlying the remaining items before the final major version change is deemed ready to be released. |
Version 5 has been released and |
Hey,
I'm trying to create a creatable select using
makeCreatableSelect(...)
. The default export<CreatableSelect />
component works as expected. However when I switch to usingmakeCreatableSelect(...)
, I don't get the option to create a new entry anymore.Replicated in this CodeSandbox: https://codesandbox.io/s/modest-chandrasekhar-u8yki?file=/src/App.js
Or is it me not properly using
makeCreatableSelect(...)
?Best regards
The text was updated successfully, but these errors were encountered: