Closed movy closed 9 months ago
This is working as expected. The interact
function doesn't take a parameter for value
- try changing the value parameter in the first interact
line and you'll see it makes no difference. I'd recommend taking a look at the tutorial to see how to set a default value for your dropdown.
Description
interact()
for a list (Dropdown or Combobox) does not respect the default selectedvalue
, i.e. regardless ofvalue=..
the selected item is always list[0]Reproduce
Result always renders two identical widgets:
Expected behavior
2nd widget is expected to have list[1] item selected
Context
Troubleshoot Output
Command Line Output
Browser Output
If using JupyterLab
Installed Labextensions