Text Input Form Group

inp_text(label = NULL, width = 4, ...)

Arguments

label

label for the form input - this will default to display the name of the variable

width

the form-group's width in bootstrap grid units

...

additional arguments passed to the form group parser

Value

a list

Examples

inp_text()
#> $fg #> [1] "text" #> #> $label #> NULL #> #> $width #> [1] 4 #> #> $dots #> list() #>
inp_text(label = "Plot Title")
#> $fg #> [1] "text" #> #> $label #> [1] "Plot Title" #> #> $width #> [1] 4 #> #> $dots #> list() #>
inp_text(width = 6)
#> $fg #> [1] "text" #> #> $label #> NULL #> #> $width #> [1] 6 #> #> $dots #> list() #>
inp_text(label = "Description", width = 12)
#> $fg #> [1] "text" #> #> $label #> [1] "Description" #> #> $width #> [1] 12 #> #> $dots #> list() #>