0

I have a problem with my Shiny app. I mean, I want to have a dynamic ui selectInput which change number of column name like in this solution when I change a dataframe. But I also implement a solution in which sliderInput will also change depend on what I choose in selectInput. My code is here.

Community
  • 1
  • 1
Nicolabo
  • 1,337
  • 12
  • 30
  • 1) There seem to be some minor mistakes, like taking into account NULL when you use switch and so on.. 2) You can dynamically create the slider as you have and then simply update it with updateSliderInput, you can put it into an observe statement. – Pork Chop Feb 17 '15 at 17:34
  • 1
    @pops I've just updated the code a little. Could you expain when I should use `updateSliderInput`? – Nicolabo Feb 17 '15 at 20:55

0 Answers0