You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @funkytraffic ,
I will mark this as a feature request for now. Happy to accept a PR on this.
It should be fairly easy to achieve using the Fancytree API.
I need this too... the easiest way is to add display:none to check-boxes with children...but....
Another way, as Fancytree API has a value checkbox:true/false for each node you have to add in TermReferenceFancytree.php, field widget, $item['checkbox'] = FALSE; each time an item has children or is lazy loading....
Better you have to add a configuration form for your module and check if user needs the ability to select only leafs....
@funkytraffic
Hello,
For moment I'm a little busy at my job. For my project I have made the changes directly in TermReferenceFancytree.php... You may too... Normally one should create an issue, patch etc and add a configuration in module. I think I'll be able to start working on it but not so soon.... How should double click action in this case for leafs?... I'm not sure if I'll be able to figure out how to remove this feature or ... probably it is a good one but without selecting the parent/parents (fancytree api/code... i haven't studied enough)... What do you think?...
It would be great if the user could be forced only to select the lowest level with the tree.
The text was updated successfully, but these errors were encountered: