Having trouble creating a function that checks if the parent checkboxTree is true, indeterminate, or false based on its options which are determined either true, indeterminate or false based on the children of the checkboxTree.
Note: There can be multiple nested checkboxTrees within themselves.
Below are images of the current code as well as the intended result of the function needed. I'm puzzled so apologies if the request is slightly confusing.
Image of intended outcome w working function
Aucun commentaire:
Enregistrer un commentaire