Skip to content
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

Make select box editable #1278

Closed
ImranAhmed opened this issue Oct 4, 2016 · 13 comments
Closed

Make select box editable #1278

ImranAhmed opened this issue Oct 4, 2016 · 13 comments

Comments

@ImranAhmed
Copy link

ImranAhmed commented Oct 4, 2016

Hi,

I am trying to use the select in (non-multi mode). I want the user to be able to either select a value from the dropdown or specify their own value. I've had a look at the Creatable option, it's a bit buggy (see: #1256) and it still seems like too much work to just make the select box editable. I also do not want the custom value to appear in the dropdown menu as it does with the Creatable option. Has anyone come across an easy way you can do this? Thanks.

@ibudisteanu
Copy link

+1

@philipp-sorin
Copy link

Hey guys, what is the status?

@philipp-sorin
Copy link

@agirton any ideas?

@philipp-sorin
Copy link

@ibudisteanu No way for me(and I don't like vue) :)

@agirton
Copy link
Collaborator

agirton commented Oct 11, 2017

@philipp-sorin We don't plan on support this feature for 1.0. We will consider this after. @ibudisteanu this comment is not helpful to this issue, removing.

Repository owner deleted a comment from ibudisteanu Oct 11, 2017
@ad1992
Copy link

ad1992 commented Mar 3, 2018

@agirton are we planning to have this feature? I would be happy to create a PR :)

@abdi-mohamed
Copy link

+1

@paigeflourin
Copy link

I need this as well.

@shamilium
Copy link

I need this feature too.

@igorcap
Copy link

igorcap commented Jan 16, 2019

+1

@Rall3n
Copy link
Collaborator

Rall3n commented Jan 17, 2019

The current implementation of Creatable in v2 does this by default. As long as you do not add the new value to the options list, the value should not appear as a selection in the dropdown.

The example in the documentation shows that it works that way.

@mayconmesquita
Copy link

mayconmesquita commented Apr 22, 2020

This guy did the solution. See comment:
#1558 (comment)

https://codesandbox.io/s/lymqy87k9l

@bladey
Copy link
Contributor

bladey commented May 28, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests