I have a richselect with a tree as the body of its suggest, I would like to make it so that only nodes that are at level 3 in the tree can actually be selected for the richselect.
Here’s a snippet of my attempt at achieving this using onBeforeSelect, it correctly returns false when the user clicks on a level 1 or 2 node, but the richselect still selects the clicked item: