Files
AVSDevR.HTMLUtils/man/htmlSetMaxLength.Rd
Craig Williams 6d3843a92b Package with an initial set of functions added
NOTE: Not all tests have been written yet!
2026-01-22 15:59:54 +00:00

24 lines
562 B
R

% 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)
}