react-component/tree

Feature request: half-checked parent => uncheck all children => check all children

rdewit opened this issue · 0 comments

Currently when a parent node is half-checked, clicking on it will check all its children. Would it be possible to add a prop that would change the logic such that it will uncheck all the children instead and when checking again, only then select all children?

Current behaviour:

half-checked parent => check all children => uncheck all children

Desired behaviour:

half-checked parent => uncheck all children => check all children