So i want to change the select options dynamically from another callback JS.
What i do from the callback is this:
select.options = new_data.data;
But after doing this, the values dont actually change on screen. i tried calling "change.emit()". doesn't help.
What should i do to "force" the change?
Thanks!
What is new_data.data? Select options expects a list of string values value, label tuples (or a specific dict format dirt for grouped select). It looks like to are passing a data source which is not the expected thing.