Strange, my login flow uses pages and dcc.location and I thought you could still use the back and forward buttons normally. But, I’ll check it out.
Actually, looking at the docs, it may be possible, check this out:
from dash import dcc, html
dcc.Dropdown(
[
{
"label": html.Div(
[
html.Img(src="/assets/images/language_icons/python_50px.svg", height=20),
html.Div("Python", style={'font-size': 15, 'padding-left': 10}),
], style={'display': 'flex', 'align-items': 'center', 'justify-content': 'center'}
),
"value": "Python",
},
{
"label": html.Div(
[
html.Img(src="/assets/images/language_icons/julia_50px.svg", height=20),
html.Div("Julia", style={'font-size': 15, 'padding-left': 10}),
], style={'display': 'flex', 'align-items': 'center', 'justify-content': 'center'}
),
"value": "Julia",
},
{
"label": html.Div(
[
html.Img(src="/assets/images/language_icons/r-lang_50px.svg", height=20),
html.Div("R", style={'font-size': 15, 'padding-left': 10}),
], style={'display': 'flex', 'align-items': 'center', 'justify-content': 'center'}
),
"value": "R",
},
]
)
You might be able to use a link instead.