24 lines
543 B
R
24 lines
543 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/htmlMarkRequired.R
|
|
\name{htmlMarkRequired}
|
|
\alias{htmlMarkRequired}
|
|
\title{Mark a Shiny input as required}
|
|
\usage{
|
|
htmlMarkRequired(input, reqClass = "text-danger required")
|
|
}
|
|
\arguments{
|
|
\item{input}{The Shiny input to mark as required}
|
|
|
|
\item{reqClass}{The classes to add to the indicator asterisk}
|
|
}
|
|
\value{
|
|
The modified input
|
|
}
|
|
\description{
|
|
Mark a Shiny input as required
|
|
}
|
|
\examples{
|
|
x <- shiny::textInput("input_id", "Some text input")
|
|
htmlMarkRequired(x)
|
|
}
|