Open
Description
Provide a general summary of the feature here
I'm having a hard time implementing parent/child selection behavior in a TreeView. Specifically I'd like to be able to:
- select a parent and all of its children by selecting the parent checkbox.
- Unselecting a child while siblings are still selected switches the parent to indeterminate
- Unselecting the last child unselects the parent
- Should
onSelectionChange
include parent keys? In my case parents are basically just meant for grouping and in my external state I'm only interested in knowing which child items are selected.
🤔 Expected Behavior?
Support intuitive parent/child selection.
😯 Current Behavior
Parents and children feel unrelated
💁 Possible Solution
No response
🔦 Context
I'm building this sort of CheckboxTree, which I suspect is a pretty common usage of Tree.

💻 Examples
No response
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
📋 Waiting for Sprint