-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put several ids in cleave() #1
Comments
Hi Etienne, Passing multiple ids to library(shiny)
devtools::load_all()
ui <- fluidPage(
use_sever(),
tableOutput("table"),
plotOutput("plot"),
uiOutput("thing")
)
server <- function(input, output){
cleave("hey", ids = c("table", "plot", "thing"))
output$table <- renderTable({
error
})
output$thing <- renderUI({
p(error)
})
output$plot <- renderPlot({
plot(error)
})
}
shinyApp(ui, server) |
Perfect, it works now 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's an example:
What if I want to display the same message for the table and the plot but not for the
uiOutput
? I tried to usec()
andlist()
in the argumentids
ofcleave()
but no success.Is there a way to put a list of ids in
cleave()
?The text was updated successfully, but these errors were encountered: