Is there a way to just allow leaf nodes to be selectable
abubakkardh opened this issue · 1 comments
abubakkardh commented
If you have a general query about the usage of react-dropdown-tree-select, or if you're not sure how to accomplish a particular task using the component; please raise a question on stackoverflow.com with react-dropdown-tree-select tag.
If you think you found a bug or have a feature request, please use the Bug Report
/Feature request
template respectively.
gandhis1 commented
When passing the data
object to the component, set the disabled
flag on non-leaf nodes. You can also accomplish the same through CSS by selecting for any node
which does not have the node-leaf
class, and hiding the check box.