jeudi 28 octobre 2021

Need help creating a function that checks to see if a checkboxTree is true, indeterminate, or false based on its checkbox options & checkbox children

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 current code

Image of intended outcome w working function




Aucun commentaire:

Enregistrer un commentaire