Hello,
Changing the custom exemple in the doc to an ObjectSelector parameter is not updating the value. select_string is returning a value. But when change the widget to CheckBoxGroup the value is None.
Is it related to this Dynamically update ObjectSelector dropdown ?
How can I change that ? i don’t understand the proper way to do it.
class CustomExample(param.Parameterized):
"""An example Parameterized class"""
select_string = param.ObjectSelector(objects=["red", "yellow", "green"])
@param.depends('select_string')
def view(self):
return self.select_string
custo = CustomExample()
pn.Row(pn.Param(custo.param, widgets={
'select_string': pn.widgets.CheckBoxGroup,
}
), custo.view)
Thanks