Files
AVSDevR.ShinyInputs/man/togglableTextInput.Rd

42 lines
1.2 KiB
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/toggleableTextInput.R
\name{togglableTextInput}
\alias{togglableTextInput}
\title{A text input with a checkbox to toggle editing}
\usage{
togglableTextInput(
inputId,
label,
checked = FALSE,
text = NULL,
placeholder = NULL,
enableWhenChecked = TRUE,
...
)
}
\arguments{
\item{inputId}{The \code{input} slot that will be used to access the value.}
\item{label}{Display label for the control, or \code{NULL} for no label.}
\item{checked}{Initial check state of the checkbox}
\item{text}{Initial value to display in the textInput}
\item{placeholder}{A character string giving the user a hint as to what can
be entered into the control. Internet Explorer 8 and 9 do not support this
option.}
\item{enableWhenChecked}{Enables the text input when checked = TRUE
(default), otherwise enables the input when checked = FALSE}
\item{...}{Ignored, included to require named arguments and for future
feature expansion.}
}
\description{
A text input with a checkbox to toggle editing
}
\seealso{
\code{\link[shiny:textInput]{shiny::textInput()}}, \code{\link[shiny:updateTextInput]{shiny::updateTextInput()}}
}