How to make a parent sidebar item non-clickable (header only that expands/collapses children)

I want a sidebar section whose parent item has an icon and (optionally) a badge but no URL, so it acts only as a header to expand/collapse the child resources—similar to the second screenshot below. Right now my parent is clickable and navigates somewhere (first screenshot).
No description
No description
2 Replies

Did you find this page helpful?