streamlit_tree_select
streamlit_tree_select copied to clipboard
tree_select checked property doesn't select the listed nodes
Hi,
The tree_select
checked
property doesn't cause the listed nodes to be visibly selected in the tree, nor expand the branches they are in (depending on the expand_on_click
setting).
Would it be possible to provide the checked
nodes list in the form they would have been defined, i.e. as dict
objects? It seems they need to be converted to strings, so I need to do something like checked=[json.dumps(node1), json.dumps(node2), ...]
instead of simply checked=[node1, node2]
. I get the pre-checked nodes back as values but as stated above the tree nodes don't visibly show as checked.
Thanks, Arvindra