Comments (3)
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.
from react-checkbox-tree.
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
from react-checkbox-tree.
this fixed my issue
https://stackoverflow.com/questions/75220051/disable-multiple-select-in-checkbox-treeview-in-react/75230441#75230441
from react-checkbox-tree.
Related Issues (20)
- using node and nodes with checked event HOT 1
- remove icon HOT 1
- Unable to get just the checked parent value if all the childrens are selected rather than getting all checked values HOT 1
- stop checked value clear when refresh HOT 1
- select parent value only
- checked parent programatically
- Does this library have built in function for filtering?
- Inconsistent Id between render HOT 2
- After filtering, is it possible for all parent nodes of filtered nodes to be expanded? HOT 1
- When a parent is checked is it possible to expand all its children nodes HOT 1
- When I input the filter , icon
- Enable the check only at last level parent node and child nodes HOT 2
- Any plan to update npm? HOT 1
- css is not loading properly HOT 2
- Icon option for disabled HOT 2
- Handling for having a single node in multiple separate branches of the same tree.
- Add the ability to create files and folders
- async loading support HOT 1
- Add half checked icon to parent element with some checked children HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-checkbox-tree.