I am trying to generate a CheckList based on a DropDown.
When I run my code everything works fine. The DropDown is populated from a DataFrame and then the DropDown’s value populates the CheckList’s options.
However if a change is made to the DropDown then the CheckList immediately goes blank and becomes unresponsive.
After getting it to print out what the CheckList was receiving I found out why. When the CheckList is populated by the DataFrame it receives something akin to the following:
[{'label': 'Break', 'value': 'Break'}, {'label': 'Col3', 'value': 'Col3'}]
However if a change is made (say Break is removed then added) it switchs to the following:
['Break','Col3']
it changes from giving the values in the same format that it reads them to a simple list format.
Am I missing something obvious functionality wise or is it not supposed to be doing this
Many Thanks