[R] shinyWidgets::sliderTextInput
Erin Hodgess
er|nm@hodge@@ @end|ng |rom gm@||@com
Tue Aug 6 16:57:43 CEST 2019
Hi Sigbert:
Is there a label argument, please? I think that might be it.
Thanks,
Erin
On Tue, Aug 6, 2019 at 1:52 AM Sigbert Klinke <sigbert using wiwi.hu-berlin.de>
wrote:
> Hi,
>
> I'am using
>
> sliderTextInput('myinput', choices=list("choice1"=1, "choice2"=2,
> "choice3"=3))
>
> But in the shiny app the UI element shows '1', '2', instead of
> 'choice1', 'choice2' etc.
>
> I think the reason is that in shinyTextInput is done
>
> if (!is.character(choices)) {
> choices <- as.character(choices)
> }
>
> Any idea if I could achieve my wished behaviour?
>
> Best Sigbert
>
> --
> https://hu.berlin/sk
> https://hu.berlin/mmstat3
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Erin Hodgess, PhD
mailto: erinm.hodgess using gmail.com
[[alternative HTML version deleted]]
More information about the R-help
mailing list