Reputation: 11
I'm trying to do some sliders with a begin value and after modify them. I'm using the updateSliderInput to set the value but, when I try to modify them, them come back to the same value. How to fix that?
Upvotes: 0
Views: 374
Reputation: 320
To set a starting value update the value
parameter. Below is an example of a slider which is called decimal
with display text Decimal which has values ranging from 0 to 1. It starts at .5 and each step is .1.
sliderInput("decimal", "Decimal:",
min = 0, max = 1,
value = 0.5, step = 0.1),
Upvotes: 2