Hello,
I'm building a dashboard using
shinydashboard and am noticing an issue.
The 'subMenuItem' tabs on the sideBar are not dynamic. Notice the screenshot below. They are not hidden. I should be able to click on the 'Some Cool Stuff' tab and hide the sub menus. But this functionality isn't happening.
Has anyone else noticed this?
I'm assuming the necessary js files are in the shinydashboard package.

dashboardSidebar(
sidebarMenu(
menuItem("Some Cool Stuff", icon = icon("th")),
menuSubItem("Sub-item 1", tabName = "subitem1"),
menuSubItem("Sub-item 2", tabName = "subitem2"),
)
),
#Tab Content
tabItem("subitem1",
"Sub-item 1 tab content"
),
tabItem(tabName="forms", "subitem2",
"Sub-item 2 tab content"
),