How can I implement a checkbox system where there are multiple checkbox groups, each containing their own checkboxes? The goal is to toggle the parent checkbox to true only if all of its children checkboxes are also true. If any child checkbox is false, the parent should be toggled to false as well.
I have created a code sandbox to demonstrate this concept. Check it out here.