Number Input Form Group

inp_number(from = 0, to = 100, label = NULL, width = 4, ...)

Arguments

from

a number

to

a number

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_number()
#> $fg #> [1] "number" #> #> $label #> NULL #> #> $width #> [1] 4 #> #> $dots #> list() #> #> $opts #> $opts$from #> [1] 0 #> #> $opts$to #> [1] 100 #> #>
inp_number(from = 0, to = 1e9)
#> $fg #> [1] "number" #> #> $label #> NULL #> #> $width #> [1] 4 #> #> $dots #> list() #> #> $opts #> $opts$from #> [1] 0 #> #> $opts$to #> [1] 1e+09 #> #>
inp_number(from = 1, to = 7, label = "This Is A Survey")
#> $fg #> [1] "number" #> #> $label #> [1] "This Is A Survey" #> #> $width #> [1] 4 #> #> $dots #> list() #> #> $opts #> $opts$from #> [1] 1 #> #> $opts$to #> [1] 7 #> #>