Make CheckboxGroup work on SSR.
Problem
On SSR when you click on the CheckboxGroupTrigger it does not check any of the child and when you check any of the children it also does not change the CheckboxGroupTrigger display, which should be either:
- nothing: if all the children are not checked.
- ph-check: if all the children are checked.
- ph-minus: if any of them are different from the others.
Make
CheckboxGroupwork on SSR.Problem
On SSR when you click on the
CheckboxGroupTriggerit does not check any of the child and when you check any of the children it also does not change theCheckboxGroupTriggerdisplay, which should be either: