Dependent List Creation using Shiny

shiny
submit
list
dependent

#1

Hi,

I have created two drop downs using following code. Here as you can see that in6 list depends on the in5 list. I have created a submit button to ensure that Until user clicks it the whole dashboard should not be processed. However Dependent lists should work with out clicking on Submit button. Currently If I click submit button then only second list is getting filled. Kindly help me in resolving the issue.

server.r

shinyServer(function(input, output, session) {

output$Box2 = renderUI(selectInput(“in6”,“Configuration”, as.character(unique(data[ , input$in5==names( data ) ]))))

ui.r

selectInput(“in5”,“Configuration Column”,c(Choose=’’, names(data)))
uiOutput(“Box2”),
submitButton(“Process”)