| text_area_Input | R Documentation |
This function create a text area input.
text_area_Input(
inputId,
label,
hint_label = NULL,
row_no = 5,
error = FALSE,
error_message = NULL,
word_limit = NULL
)
inputId |
The id assigned to the component's root element. For Shiny
input components this is also the name used to access the value via
|
label |
Display label for the control, or |
hint_label |
Display hint label for the control, or |
row_no |
Size of the text entry box. Defaults to 5 |
error |
If |
error_message |
Text shown when |
word_limit |
Add a word limit to the display. Defaults to |
a text area box HTML shiny tag object
Other Govstyle text types:
date_Input(),
gov_list(),
heading_text(),
input_field(),
text_Input()
text_area_Input(
"taId",
"Can you provide more detail?",
paste(
"Do not include personal or financial information, like your",
"National Insurance number or credit card details."
)
)
# Rich content: a link in the hint
text_area_Input(
"taId2",
"Can you provide more detail?",
shiny::tagList(
"Read the ",
shinyGovstyle::external_link("https://www.gov.uk", "guidance on detail")
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.