As you can see on the image below, when marking the "Guest" all parents that have a single child gets checked too. But I actually want just the "Guest" checked and its parents unchecked as in the "Account's manager"
The "Accounts Manager" box is in the indeterminate
state, meaning that all of its children are not all checked or all unchecked. When there is only one child, though, the state can never be indeterminate
since all of the one children are either checked or not. So what you're asking for doesn't make sense...
I guess you could add another child with display:none
or something to provoke an indeterminate
state, but I don't know why you'd want to do that.