plotly / plotly/dash

DataTable Dropdown Text Deletion Issue

Open
#2,769 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug dash-data-table P3 sev-4
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Issue: When attempting to delete text entered into the Dropdown component within the DataTable, the behavior is inconsistent. Sometimes, pressing the backspace or delete buttons will remove the entered letter, while other times, it results in the removal of the entire row. Additionally, there are instances where pressing the delete buttons does not delete anything at all. This erratic behavior has been observed both locally and on the official Dash documentation website.

image

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 by reproducing the deletion behavior on the DataTable dropdown example at https://dash.plotly.com/datatable/dropdowns, testing backspace and delete in the affected cell. Trace the DataTable dropdown implementation and its existing tests, then verify that editing text removes only the intended characters and never removes the row or does nothing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.