Hi all,
Could not find the answer to this anywhere. I am trying to change the font weight of disabled items in a select dropdown. I
would like my Select component to look like this (which is not possible at the moment in dash components).
The workaround I am working on is to have the categories (here frontend, backend) as disabled items. Problem: I would like to change the font weight and size, and I am not sure how. Here is how I am trying to do it:
dropdown = html.Div(
[
dmc.Select(
placeholder="Dataset...",
id="dataset-selection",
data=labels_new,
style={"marginBottom": 10},
styles={"disabled": { # This styles prompt does not work
"fontWeight": 700}
},
dropdownPosition="bottom",
searchable=True,
selectOnBlur=True,
)
]
)