JedWatson / JedWatson/react-select

Async Select Multi: Options Cleared After Selection Despite Persistent Search Term

Open
#5,918 0 comments 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

Version: 5.5.7

Issue Description

When using the async select component, if I want to persist the search term to allow users to select multiple options using the same search term, the list of options is cleared, even though there are still options available with that search term.

Expected Behavior

I would expect to be able to select all the options available for a given search term without the options list being cleared.

Supporting Resources

Loom Video Demonstration
Codesandbox to Replicate the Issue

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 linked CodeSandbox and reproduce the issue using the async select component with a persistent search term. Trace the selection and option-loading behavior after one option is selected. Done means the remaining options for the same search term stay available so users can select multiple matching 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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.