plotly / plotly/dash

Support dropdown search multiple selection using wildcard

Open
#2,570 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Is your feature request related to a problem? Please describe.
Today when using a dropdown element, only the first element matching the pattern/wildcard is selected. It will be ideal that this behaivor could be controled, allowing to select all elements in the list who match the pattern/wildcard

Describe the solution you'd like
A new parameter in dropdown object (e.g. pattern_selection = True).
For example, with this if the user write "Tes" in a dropdown with a list ('Test', 'Test1,'Test3') and then push either tab or enter, will be selecting all elements who match "Tes" and not only the first one.

Another option would be to have an option to remove autocompletation . With this you can do a callback who change the values depending of the search value

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

The issue names no file, test, or entry point, so first locate the dropdown component and its existing wildcard or autocomplete selection behavior. Clarify whether the goal is a new multi-selection parameter or disabling autocomplete, then verify that the chosen behavior selects every matching option when Tab or Enter is pressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.