textCLInput | R Documentation |
As most classless frameworks focus on HTML tags rather than CSS classes, the format of inputs is generally consistent amongst different frameworks.
Classless frameworks a lot less feature rich compared to
textCLInput(input_id, label, value = "", placeholder = "") passwordCLInput(input_id, label, value = "", placeholder = "") textAreaCLInput(input_id, label, value = "", placeholder = "") numericCLInput( input_id, label, value = "", min = NULL, max = NULL, placeholder = "" ) dateCLInput( input_id, label, value = "", min = NULL, max = NULL, placeholder = "" ) checkboxCLInput(input_id, label, value = FALSE)
input_id |
The |
label |
Display label for the control |
value |
Initial value |
placeholder |
A character string giving the user a hint as to what can be entered into the control |
min |
Minimum valid value |
max |
Maximum valid value |
An input control that can be added to a UI definition
# Text Input textCLInput(input_id = "text", "Text Input") # Numeric Input numericCLInput(input_id = "numeric", "Numeric Input") # Date Input dateCLInput(input_id = "date", "Date Input")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.