fileInput | R Documentation |
Upload files to the server.
fileInput(
...,
id,
placeholder = "Choose file",
browse = "Browse",
multiple = TRUE,
accept = NULL
)
... |
Additional named arguments passed as HTML attributes to the parent element or tag elements passed as child elements to the parent element. |
id |
A character string specifying the id of the reactive input. |
placeholder |
A character string specifying the text inside the file
input, defaults to |
browse |
A character string specifying the label of file input, defaults
to |
multiple |
One of |
accept |
A character vector of possible MIME types or file extensions,
defaults to |
File inputs come with default placeholder text.
fileInput( id = NULL )
You can also specify different text.
fileInput( id = NULL, placeholder = "Pick a file", browse = "Click" )
Other inputs:
buttonGroupInput()
,
buttonInput()
,
checkbarInput()
,
checkboxInput()
,
chipInput()
,
formInput()
,
listGroupInput()
,
menuInput()
,
navInput()
,
radioInput()
,
radiobarInput()
,
rangeInput()
,
selectInput()
,
textInput()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.