From 2bc243775930362f0627d86d0ebf4c43b617ecd5 Mon Sep 17 00:00:00 2001 From: nadijagraca Date: Mon, 20 Jan 2025 17:53:52 +0100 Subject: [PATCH] fix test --- .../unit/vizro/models/_components/form/test_dropdown.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vizro-core/tests/unit/vizro/models/_components/form/test_dropdown.py b/vizro-core/tests/unit/vizro/models/_components/form/test_dropdown.py index a2b6cd444..85e5e25b6 100755 --- a/vizro-core/tests/unit/vizro/models/_components/form/test_dropdown.py +++ b/vizro-core/tests/unit/vizro/models/_components/form/test_dropdown.py @@ -154,7 +154,12 @@ def test_dropdown_with_all_option(self): dbc.Label("Title", html_for="dropdown_id"), dcc.Dropdown( id="dropdown_id", - options=["ALL", "A", "B", "C"], + options=[ + {"label": html.Div(["ALL"]), "value": "ALL"}, + {"label": "A", "value": "A"}, + {"label": "B", "value": "B"}, + {"label": "C", "value": "C"}, + ], optionHeight=32, value="ALL", multi=True,