Files
AVSDevR.ShinyInputs/man/betterDateInput.Rd

71 lines
2.2 KiB
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/betterDateInput.R
\name{betterDateInput}
\alias{betterDateInput}
\title{Improved shiny dateInput}
\usage{
betterDateInput(
inputId,
label,
value = NULL,
min = NULL,
max = NULL,
display_format = "yyyy-mm-dd",
startview = "month",
weekstart = 0,
language = "en",
width = NULL,
multiple = FALSE,
autoclose = !multiple,
...
)
}
\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{value}{The starting date. Either a Date object, or a string in
\code{yyyy-mm-dd} format. If NULL (the default), will use the current date
in the client's time zone.}
\item{min}{The minimum allowed date. Either a Date object, or a string in
\code{yyyy-mm-dd} format.}
\item{max}{The maximum allowed date. Either a Date object, or a string in
\code{yyyy-mm-dd} format.}
\item{display_format}{An ISO format for dates}
\item{startview}{The date range shown when the input object is first clicked.
Can be "month" (the default), "year", or "decade".}
\item{weekstart}{Which day is the start of the week. Should be an integer
from 0 (Sunday) to 6 (Saturday).}
\item{language}{The language used for month and day names. Default is "en".
Other valid values include "ar", "az", "bg", "bs", "ca", "cs", "cy", "da",
"de", "el", "en-AU", "en-GB", "eo", "es", "et", "eu", "fa", "fi", "fo",
"fr-CH", "fr", "gl", "he", "hr", "hu", "hy", "id", "is", "it-CH", "it",
"ja", "ka", "kh", "kk", "ko", "kr", "lt", "lv", "me", "mk", "mn", "ms",
"nb", "nl-BE", "nl", "no", "pl", "pt-BR", "pt", "ro", "rs-latin", "rs",
"ru", "sk", "sl", "sq", "sr-latin", "sr", "sv", "sw", "th", "tr", "uk",
"vi", "zh-CN", and "zh-TW".}
\item{width}{The width of the input, e.g. \code{'400px'}, or \code{'100\%'};
see \code{\link[shiny:validateCssUnit]{validateCssUnit()}}.}
\item{multiple}{Allows multiple dates to be selected if TRUE}
\item{autoclose}{Whether or not to close the datepicker immediately when a
date is selected.}
\item{...}{Ignored}
}
\description{
Improved shiny dateInput
}
\seealso{
\code{\link[shiny:dateInput]{shiny::dateInput()}}, \code{\link[shiny:updateDateInput]{shiny::updateDateInput()}}
}