Ability to show selected element in the tree (level 2 and deeper)
Opened this issue · 1 comments
t1mm1 commented
Hi,
I did start to use this feature as select2-to-tree and found one UI issue.
The case.
- I open the selectbox and select the value inside the tree on the level 2 and more.
- I open the selectbox again and see that the tree is un-collapsed and selected value not showing inside the tree.
I did investigate this moment nad see that for the open/hide you use classes 'opened' and 'showme'.
Do we have the way how to show the un-collapsed tree inside the selectbox with value that we dd select before (or with default value it it was added in the tree of values inside)?
Thanks.
t1mm1 commented
My wrong..
Solution: https://github.com/i350/select2-to-tree/tree/expand-selected
Can add it into description?
As for me this is real user-frieldly option.
Thanks!