TreeSelect seems to be some features, is this since v4? #2702
Unanswered
james-astra
asked this question in
PrimeVue
Replies: 1 comment
-
Any update regarding this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The TreeSelect component appears to be missing some useful features for it to be used in a lot of applications.
What's missing?
Programatically expandable keys
There is no 'expandedKeys' prop available on the component and seemingly no way to pass it through to the child Tree component. This feature is really useful.
I know that there is an 'expandPath' method available but also this doesn't do anything.
Propagation control
In my use case, I would like to propagate selections downwards. This is the default behaviour (select all children when a node is selected) however, I don't want to propagate upwards, in the case of a node with one child, I need them to be able to be selected independently of each other.
I am using it for an 'organization selector' that controls what data from what organizations a user is seeing.
Beta Was this translation helpful? Give feedback.
All reactions