ericrayanderson / shinymaterial

Other
237 stars 58 forks source link

Upgrade: material_file_input #133

Open pablo-rodr-bio2 opened 3 years ago

pablo-rodr-bio2 commented 3 years ago

It would be great if material_file_input() also had an "accept" argument like shiny::fileInput(), "A character vector of "unique file type specifiers" which gives the browser a hint as to the type of file the server expects. Many browsers use this prevent the user from selecting an invalid file"

Masakazu-Ishikawa137 commented 8 months ago

Hello, I tried to use 'accept', but it did not exist

material_file_input('file', label = "Upload file", accept = '.h5')
image