Say I have a shiny::sliderInput
:
...
sliderInput("input_1", "Title_1",
min = 1, max = 10, value = 5)
...
Is it possible to reference min
, max
, and/or value
in a different sliderInput
? The use case for this is to make a second a input dependent on the first input. Something to the tune of the minimum of the second input can never be less than the value from input_1
.
Something like (this does not work):
sliderInput("input_2", "Title_2",
min = input_1$value, max = 10, value = input_1$value)
My hunch is this might be possible with renderUI
, but not sure where or how to start?