You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue using updateBox() on nested boxes. If I update the status of the parental box, the status of the collapsible button in the child box also changes... Everything works as expected when the boxes are not nested...
library(shiny)
library(shinydashboardPlus)
ui <- dashboardPage(
header = dashboardHeader(),
sidebar = dashboardSidebar(),
body = dashboardBody(
shinydashboardPlus::box(
box(
id = "box2",
title = "Testing",
solidHeader = TRUE,
status = "primary",
collapsible = TRUE
),
id = "box1",
title = "Testing",
solidHeader = TRUE,
status= "primary",
collapsible = TRUE
)
)
)
server <- function(input, output, session) {
updateBox(
id = "box1",
action = "update",
options = list(
"status" = "danger"
),
session = session
)
}
shinyApp(ui = ui, server = server)
The text was updated successfully, but these errors were encountered:
Thanks for the great package!
I am encountering an issue using
updateBox()
on nested boxes. If I update thestatus
of the parental box, thestatus
of thecollapsible
button in the child box also changes... Everything works as expected when the boxes are not nested...The text was updated successfully, but these errors were encountered: