The textInput in shiny doesn't accept the "return" character. And if I type "\n" in the text box, the slash will be escaped so I end up getting a literal "\\n". Anyone knows a way to get multi-line inputs?Yindeng
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/12b6af71-2a76-40b3-88d7-1e992e0690cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
textareaInput <- function(inputId, label, value="", placeholder="", rows=2){ tagList( div(strong(label), style="margin-top: 5px;"), tags$style(type="text/css", "textarea {width:100%; margin-top: 5px;}"), tags$textarea(id = inputId, placeholder = placeholder, rows = rows, value))}