For the code below I need to add a snippet that would allow me, after selecting an option in the first checkboxInput (choice), to expand a separate box with the rest of the options. How can I make these options closable.
ui <- dashboardPage(
dashboardHeader(title = "X"),
dashboardSidebar(
checkboxInput("choice", "Are you into it?"),
checkboxGroupInput("stages", "Stages: ", choices = c("First", "Second", "Third")),
selectInput("status", "Status of this card: ", choices = c(" ", "Active", "Closed")),
dateInput(inputId = "date", label = "Choose date : "),
sliderInput(inputId = "inactivity", label = "Time of inactivity ", min = 6, max = 24, value = 10)
),
dashboardBody(
dataTableOutput(outputId = "table")
)
)