-
A very desirable feature would be for the tags list to display bottom-level nodes - i.e. traverse the tree. Let's say I have a dropdown which consists of countries and states. For example:
Currently, when I the select "USA" checkbox, the pill shows as "USA" and the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey! That's one of the design decisions we debated over while building this component. It has been asked in the past and also the flip case where you want the parent to act as select/deselcet all for children. This can vary based on use case to use case so the component tries to be flexible and provides ways to accomplish all possible outcomes without making those decisions itself. Some of the older discussions can be seen here #481 (comment) and here #244 What you are looking for is to use |
Beta Was this translation helpful? Give feedback.
Hey! That's one of the design decisions we debated over while building this component. It has been asked in the past and also the flip case where you want the parent to act as select/deselcet all for children. This can vary based on use case to use case so the component tries to be flexible and provides ways to accomplish all possible outcomes without making those decisions itself. Some of the older discussions can be seen here #481 (comment) and here #244
What you are looking for is to use
mode=hierarchical
. Now selecting 50 states individually may not be a good UX so what you'd need to do is wrap the component in an HoC that sets each children's selected=true|false when the parent is to…