JedWatson / JedWatson/react-select

Creatable Select shows "no options" if created option is selected then retyped

Open
#5,774 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

issue/bug-unconfirmed
Dominant language
TypeScript
Stars
28k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

If you type in a new created option in a Creatable select, and select it, then retype the same option, it'll show "No options" instead of allowing user to choose that option again which is what I would expect.

https://github.com/JedWatson/react-select/assets/35714960/61297414-3197-444a-bdf1-a42a4859418d

This is reproducible using just the Creatable example here https://react-select.com/creatable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Creatable example at https://react-select.com/creatable and reproduce the issue by creating, selecting, and retyping the same option. Trace the relevant Creatable select entry point and existing tests, if present. Done means the previously created option can be chosen again instead of showing "No options".

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.