Package with an initial set of functions added
NOTE: Not all tests have been written yet!
This commit is contained in:
23
man/htmlSetMaxLength.Rd
Normal file
23
man/htmlSetMaxLength.Rd
Normal file
@@ -0,0 +1,23 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/htmlSetXLength.R
|
||||
\name{htmlSetMaxLength}
|
||||
\alias{htmlSetMaxLength}
|
||||
\title{Set the maximum length on a text or textarea input}
|
||||
\usage{
|
||||
htmlSetMaxLength(input, length)
|
||||
}
|
||||
\arguments{
|
||||
\item{input}{The Shiny input to set the length attribute on}
|
||||
|
||||
\item{length}{The maximum length allowed on the input}
|
||||
}
|
||||
\value{
|
||||
The modified input
|
||||
}
|
||||
\description{
|
||||
Set the maximum length on a text or textarea input
|
||||
}
|
||||
\examples{
|
||||
x <- shiny::textInput("input_id", "Some text input")
|
||||
htmlSetMaxLength(x, 50)
|
||||
}
|
||||
Reference in New Issue
Block a user