Create a styled textarea using Designsystemet styles.
Usage
ds_textarea(
inputId,
value = "",
placeholder = NULL,
rows = 3,
size = NULL,
readonly = FALSE,
disabled = FALSE,
invalid = FALSE,
...
)Arguments
- 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