| ds_textarea | R Documentation |
Create a styled textarea using Designsystemet styles.
ds_textarea(
inputId,
value = "",
placeholder = NULL,
rows = 3,
size = NULL,
readonly = FALSE,
disabled = FALSE,
invalid = FALSE,
...
)
inputId |
The input slot for Shiny reactivity |
value |
Initial value |
placeholder |
Placeholder text |
rows |
Number of visible rows |
size |
Size variant ("sm", "md", "lg") |
readonly |
If TRUE, makes the textarea read-only |
disabled |
If TRUE, disables the textarea |
invalid |
If TRUE, shows invalid state |
... |
Additional attributes |
A Shiny tag object
ds_textarea("msg", placeholder = "Type here...", rows = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.