I started to use the Dropdowntree and I'm facing an issue when I want to prevent selection of parent items (I want the user to select only leaf items).
In this example : https://stackblitz.com/edit/angular-wh96bb
I tried to intercept selection in the valueChange event, but it cannot prevent the dropdown to close. Also I select a top level item, the value change event is triggered and I can set ngModel value to null => so the drop down tree does not display anything. But If you open it and select the same top level item, then the value change event is not triggered, and the drop down closes and displays this item label
Is there anyway to prevent the dropdown to allow selection on parent items, and to not close itself when user clicks on one of these items ?
thanks in advance,