rstudio / shiny

Easy interactive web applications with R
https://shiny.posit.co/
Other
5.35k stars 1.87k forks source link

Add pre/post to updateSliderInput #1061

Open jrdnmdhl opened 8 years ago

jrdnmdhl commented 8 years ago

updateSliderInput does not currently take inputs for "pre" and "post". This means you can't have a slider with currency symbols that depend on other inputs without resorting to renderUI.

Ideally, updateSliderInput would handle all of the arguments used by sliderInput, with the obvious exception of id.

daattali commented 8 years ago

This will automatically be fixed when issue #866 gets implemented (ability to update the slider with ALL the arguments that are supported by ion range sliders)

alandipert commented 5 years ago

While #866 would technically implement this, I'm keeping this open because sliderInput already has pre and post parameters. So, the lack of pre and post in updateSliderInput is an asymmetry that's orthogonal to the ongoing discussion about how best to handle the ionRangeSlider features we don't currently expose.