Skip to content

Commit 29d660a

Browse files
committed
Change enhancement and vectorizer inputs to dcc.Dropdowns, which should fix issues with them on chrome + wayland
1 parent ed41da5 commit 29d660a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dash_app/components/form_inputs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def enhancement_input(id):
5656
return dbc.Col(
5757
[
5858
dbc.Label("Enhancement", html_for=id, width="auto"),
59-
dbc.Select(
59+
dcc.Dropdown(
6060
id=id,
6161
options=[
6262
{"label": "Words", "value": "e_words"},
@@ -68,6 +68,7 @@ def enhancement_input(id):
6868
{"label": "Iplom", "value": "e_event_iplom_id"},
6969
],
7070
value="e_words",
71+
className="dbc border border-light-subtle rounded",
7172
),
7273
]
7374
)
@@ -251,13 +252,14 @@ def vectorizer_input(id):
251252
return dbc.Col(
252253
[
253254
dbc.Label("Vectorizer type", html_for=id, width="auto"),
254-
dbc.Select(
255+
dcc.Dropdown(
255256
id=id,
256257
options=[
257258
{"label": "Count", "value": "count"},
258259
{"label": "TF-IDF", "value": "tfidf"},
259260
],
260261
value="count",
262+
className="dbc border border-light-subtle rounded",
261263
),
262264
],
263265
)

0 commit comments

Comments
 (0)