24 lines
563 B
R
24 lines
563 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/htmlMarkOptional.R
|
|
\name{htmlMarkOptional}
|
|
\alias{htmlMarkOptional}
|
|
\title{Explicitly mark a Shiny input as optional}
|
|
\usage{
|
|
htmlMarkOptional(input, optClass = "text-muted font-italic")
|
|
}
|
|
\arguments{
|
|
\item{input}{The Shiny input to mark as optional}
|
|
|
|
\item{optClass}{The classes to add to the indicator text}
|
|
}
|
|
\value{
|
|
The modified input
|
|
}
|
|
\description{
|
|
Explicitly mark a Shiny input as optional
|
|
}
|
|
\examples{
|
|
x <- shiny::textInput("input_id", "Some text input")
|
|
htmlMarkOptional(x)
|
|
}
|