everyone, I want to use the output value to control a conditionalPanel in a shiny app. The following is my code,
ui = fluidPage(
navbarPage(title = "Test",
id = "test",
navbarMenu(
title = "One step analysis",
icon = icon(name = "paper-plane"),
tabPanel("Data cleaning",
value = "one.dc",
conditionalPanel(
condition = "output.id==1",
# source("ui/emailInputUI.R", local = TRUE)$value
"test"
)
)
)
)
)
server = function(input, output) {
output$id<-reactive({0})
}
shinyApp(ui = ui, server = server)
However, it didn'r work, anyone can help me? Thank you very mcuh!