jakezatecky/react-checkbox-tree

multiple checkbox selection disable

niku2021 opened this issue · 3 comments

Is there a way to disable multiple checkbox selection disable. I want to checked one at a time

Are you asking if there is a way to disable the behavior of checking a parent and propagating that to its children, or are you asking for there to be only one node checked at a time, like a radio button (as opposed to a list of checkboxes)?

You can disable the former by passing the noCascade property. The latter is not quite supported yet.

I am asking only one node checked at a time, like a radio button (as opposed to a list of checkboxes) this one. Like below I need only one selection

image