I am using the Red Carrot Checkbox Tree plugin , but am trying to adapt it for use with a nested list of radio buttons.
Replacing all references to the “flag” with “radio” works for the most part, but the uncheckChildren option does not work. If you select a different parent option, the first selected parent is canceled (as you would rightly expect using the switches!). but all children of the selected parent remain selected, and the list is not destroyed. This is less than ideal, as it means that the user can select a child of an unselected parent. Can anyone suggest that I might need to change the script to achieve the same behavior as with the checkboxes (although keeping the behavior of the switch at the same level is allowed at each level)?
source
share