mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-31 01:38:34 -05:00
added .csv for Windows users
Without the ".csv" on Windows file selector does not filter for csv files. This may be due to Excel. But the install base for Excel is humongous so I propose to incorporate it.
This commit is contained in:
@@ -22,7 +22,7 @@ shinyUI(pageWithSidebar(
|
||||
headerPanel("CSV Viewer"),
|
||||
sidebarPanel(
|
||||
fileInput('file1', 'Choose CSV File',
|
||||
accept=c('text/csv', 'text/comma-separated-values,text/plain')),
|
||||
accept=c('text/csv', 'text/comma-separated-values,text/plain', '.csv')),
|
||||
tags$hr(),
|
||||
checkboxInput('header', 'Header', TRUE),
|
||||
radioButtons('sep', 'Separator',
|
||||
|
||||
Reference in New Issue
Block a user