-
Notifications
You must be signed in to change notification settings - Fork 297
Closed
Description
Hi,
It would be great if input can be nested inside menuItem. For example:
ui <- dashboardPage(
dashboardHeader(title = "Example"),
dashboardSidebar(
sidebarMenu(
menuItem("Item1", tabName = "tab1",
textInput("input1", "Enter text")),
menuItem("Item2", tabName = "tab2",
numericInput("input2", "Enter a number", 0))
)
),
dashboardBody(
tabItems(
tabItem("tab1", textOutput("text1")),
tabItem("tab2", textOutput("text2"))
)
)
)
server <- shinyServer(function(input, output) {
output$text1 <- renderText({"Text1"})
output$text2 <- renderText({"Text2"})
})
shinyApp(ui = ui, server = server)The sidebar menu is actually displayed correctly but the content of the body isn't....
Thanks,
Adiel
Metadata
Metadata
Assignees
Labels
No labels