I need to calculate in ui a selection list that is dependent on an input. I have not found a solution on stackoverflow or google yet. Maybe someone can give me a solution suggestion. Code example:
fluidRow(
box(width = 2,
selectInput(
"Methode_A",
label = "Methode",
choices = c("1","2","3"),
multiple = TRUE
)
),
#Pseudocode
if(Methode_A=="1"){list_a<-.... code 1 }
if(Methode_A=="2"){list_a<-.... code 2 }
box(width = 2,
selectInput(
"Linie_A",
label = "Linie",
choices = list_a,
multiple = TRUE
)
)
I hope someone has an inspiration.