I have a Python web app built with Dash in a Pythonanywhere server. It is working fine in my local machine, but with the same code in Python Anywhere there is a dropdown menu that is not showing the options...or showing blank values.
I've tried hard coding some values in the options dropdown variable, but nothing appears.
The code is like this:
dcc.Dropdown(
id="dd_units",
options=['SORXC01', 'ENDE01'],
value="SORXC01",
searchable=False,),
Very simple, so I assume it should be fine.
A sample of what I see on Python Anywhere:
What can I try next?
The problem was the dash version installed in Python Anywhere...
pip install --upgrade dash
And now it is working :)