vakata / jstree

jquery tree plugin
http://jstree.com
MIT License
5.15k stars 1.38k forks source link

Round, radiobutton-style buttons for "multiple: false" #2549

Closed yaronkoren closed 3 years ago

yaronkoren commented 3 years ago

When users can only select one value in a tree, i.e. when "multiple: false" is specified, it may be confusing for some users to see checkboxes for each value, since those usually imply that any number of values can be selected. It would be more logical, I think, to have a radiobutton-style display, meaning having circles instead of squares.

vakata commented 3 years ago

I do not think you should enable the checkbox plugin if multiple is false. Still, if you want to do that it should be easy to change the icon using CSS in your own page.