Does selecting a component group select the entire component list contained by that group?



1 comment

  • Avatar

    Earlier today I found the following to be true about your main question:

    When the subcomponent is set to selected and not editable


    then its actual setting will be the same as the parent. So, without any additional logic involved, if I selected a top level component that had 3 subcomponents with the above settings they would all be selected. If I deselect the top level component all child components become deselected. If instead the canBeEdited flag is true for any of the children then the child can be selected/deselected independently of the parent. And I'll state the obvious that if you set the selected flag to false then by default the child will not be selected.

Please sign in to leave a comment.