How to prevent from being unselected of the selected node by clicking it
-
Hi, is there any way to prevent the selected node from being unselected when clicking it. The selected node should be unselected only by clicking another node.
-
you could set the selected node to “disabled”…
A better solution would be to be able to set the tick box toread only
.Or you could use the
@update:ticked -> function(target)
event. -
@cahitoncel In some cases, that might be useful to place an overlay div (class=“absolute-full”) which will catch all the clicks on it while the node is selected. Useful, when you have many components in one place (q-toggle, q-radio, etc.)