Amazing work on dash 4.0.0!
I upgrade to Dash 4.0.0 today and find a bug(I think): When deselect option(s) in a multi-value dropdown whose label has html component, options update incorrectly.
Below is an example code.
from dash import Dash, dcc, html
app = Dash()
app.layout = html.Div([
dcc.Dropdown(
options=[
{
"label":html.Span("red"),
"value": "red",
"search": "red",
},
{
"label": html.Span("yellow"),
"value": "yellow",
"search": "yellow"
},
{
"label":html.Span("blue"),
"value": "blue",
"search": "blue"
},
],
value=['red','yellow','blue'],
id='close-on-select-dropdown', multi=True
),
html.Div(id='close-on-select-output')
])
if __name__ == '__main__':
app.run(debug=True)