dash icon indicating copy to clipboard operation
dash copied to clipboard

[BUG] dcc.Dropdown value does not update when an option is removed (regression from #1868)

Open Thuener opened this issue 1 year ago • 0 comments

Describe your context Please provide us your environment, so we can easily reproduce the issue.

  • replace the result of pip list | grep dash below
dash                 2.13.0

Describe the bug Regression #1868 When the options of a dcc.Dropdown are updated to remove a currently selected option, the UI updates to remove that value, but the value parameter does not update.

Expected behavior

Removing an option from options should also remove that option from value, that way it will be sync with the UI.

Screenshots

Using the same code as #1868 but with version 2.13.0 we have msedge_oxESf4Irhm

Thuener avatar Jan 29 '24 14:01 Thuener