jakezatecky / react-checkbox-tree

A simple and elegant checkbox tree for React.

Home Page:https://jakezatecky.github.io/react-checkbox-tree/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multiple checkbox selection disable

niku2021 opened this issue · 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