The ipywidgets dropdown allows a list of values to be passed to the dropdown to be displayed and used as selection values, or a dict, in which case the keys are the displayed elements and the values are the values returned from the selection/dropdown widget.
It would be useful if variable-dropdown also supported the use dicts as well as lists in a similar way.
The
ipywidgetsdropdown allows alistof values to be passed to the dropdown to be displayed and used as selection values, or adict, in which case the keys are the displayed elements and the values are the values returned from the selection/dropdown widget.It would be useful if
variable-dropdownalso supported the usedictsas well aslistsin a similar way.