Hi there,
I am trying to update a select input based on another select input. I'm not sure why it isn't working, but it is getting complex as I am trying to use modules to avoid replication. I have created a minimal (arguably) example:
Hi @WillP. Your code have a number of errors. First, no need to add namespace to the inputId inside module, so no need ns <- session$ns. Use observe instead of reactive inside prepdata function. No need to pass reactive(input$by), just use input$by directly inside module. And your module didn't return anything, so no need to assign to summdat and custdat. Try the follow code. Hope it can help.