plotly / plotly/dash

add new search_indexes prop on dropdown

Open
#2,290 3 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

When "label" is a component (img and div for example), and I provide "value", "label" and "search" arguments in options is there a way to tell it to search options only by "search"?

It is very slow if searching by value and search for 2k items, "value " is email, I would like to disable searching "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

No files or tests are named. Start by locating the dropdown implementation and determine how value, label, and search are used for filtering. Done means a new search_indexes prop lets filtering use only the requested search field rather than value, including for large option sets.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
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.