Skip to content

Commit

Permalink
namespacing conditional panels!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
maximesunnen committed Apr 6, 2023
1 parent 01a9db2 commit e7b1244
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion R/mod_gate.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ mod_gate_ui <- function(id){
uiOutput(ns("gfp_bin_1")),
uiOutput(ns("gfp_bin_2")),
uiOutput(ns("gfp_bin_3")),
actionButton(inputId = ns("add_input"), label = "Add GFP bins", icon("plus"))
actionButton(inputId = ns("add_input"), label = "Add GFP bins", icon("plus")),

conditionalPanel(condition = "input.add_input == 1",
ns = ns,
checkboxInput(ns("headsonly"), "This text should...."))





),

Expand Down

0 comments on commit e7b1244

Please sign in to comment.