Mike Chambers
09/10/2026, 11:09 AMfilter rather than `pickableFilter `on umb-tree working?
ai tells me..
The filter property on umb-tree is a function that's supposed to filter (hide) tree items from view, but the Umbraco CMS tree implementation never actually applies it. The filter function is stored on UmbDefaultTreeContext (line 38 of default-tree.context.ts) and forwarded from the element (line 179-181 of default-tree.element.ts), but nowhere in the rendering pipeline does it get called to exclude items from the tree.
The selectableFilter / pickableFilter works differently - it's checked at selection time (in _isSelectableItem on tree-view-element-base.ts line 61-64) to determine if an item can be picked, but it doesn't hide items just disables.Mike Chambers
09/10/2026, 11:49 AM