mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-11 07:58:11 -05:00
Fixed a bug that textAreaInput() doesn't work as expected for relative width.
This commit is contained in:
3
NEWS.md
3
NEWS.md
@@ -61,6 +61,9 @@ This is a significant release for Shiny, with a major new feature that was nearl
|
||||
|
||||
* Fixed [#2021](https://github.com/rstudio/shiny/issues/2021): Memory leak with `reactiveTimer` and `invalidateLater`. ([#2022](https://github.com/rstudio/shiny/pull/2022))
|
||||
|
||||
* Fixed a bug that `textAreaInput()` doesn't work as expected for relative `width`. (Thanks, @shrektan [#2049](https://github.com/rstudio/shiny/pull/2049))
|
||||
|
||||
|
||||
### Library updates
|
||||
|
||||
* Updated to ion.rangeSlider 2.2.0. ([#1955](https://github.com/rstudio/shiny/pull/1955))
|
||||
|
||||
@@ -56,6 +56,7 @@ textAreaInput <- function(inputId, label, value = "", width = NULL, height = NUL
|
||||
|
||||
div(class = "form-group shiny-input-container",
|
||||
label %AND% tags$label(label, `for` = inputId),
|
||||
style = if (!is.null(width)) paste0("width: ", validateCssUnit(width), ";"),
|
||||
tags$textarea(
|
||||
id = inputId,
|
||||
class = "form-control",
|
||||
|
||||
Reference in New Issue
Block a user