This is my Code for the Server function:
dragularServer <- function(id, input_col) {
moduleServer(
id,
function(input, output, session = getDefaultReactiveDomain()) {
output$elementsInput <- renderUI({
lapply(input_col, function(x) tags$div(class="inlinedisplay", drag = x, x))
})
}
)
}
I want to pass the values from the selectizeinput to the function.
selectizeInput("columns_1", "Relevant vars", choices = unique(data$var), selected = c("Tradition"), multiple = T)
## Übergabe
dragularServer("id_1", input_col = input$columns_1)
The data gets passed ONCE (on load) correctly, but does not react to any changes. Can anyone explain this behaviour? Does it have something to do with the namespace?