mother / react-files

A file input (dropzone) management component for React
MIT License
145 stars 35 forks source link

Need to accept any kind of file #27

Closed naveenkumargc closed 2 years ago

naveenkumargc commented 5 years ago

I would like to know what should we pass in the accepts prop to accept all file types. if we pass '.' it is not showing mp4 files in onFilesChange() event. tried '.*' also but no luck.

SoulKa commented 5 years ago

just leave the "accepts" prop emtpy, that did work for me

asabhaney commented 2 years ago

Fixed via 2da3184b003b966c808cc893ade6ae71ed29001c (published in 3.0.0-alpha.3)