attr-accept
attr-accept copied to clipboard
Certain file types are not allowed
Per this issue in react-dropzone
It seems the check on file types has been changed in browser support as it makes those that have a filetype that includes a . to a blank string. The example here is a .stl file. This is an example file from a basic input file type tag
File(7138484) {name: "Apollo_11.stl", lastModified: 1440523936000, lastModifiedDate: Tue Aug 25 2015 10:32:16 GMT-0700 (Mountain Standard Time), webkitRelativePath: "", size: 7138484, …}
lastModified
:
1440523936000
lastModifiedDate
:
Tue Aug 25 2015 10:32:16 GMT-0700 (Mountain Standard Time) {}
name
:
"Apollo_11.stl"
size
:
7138484
type
:
"model/x.stl-binary"
webkitRelativePath
:
""
__proto__
:
File
Is this actionable somehow? Can you come up with a fix for it?
Not entirely sure @okonet. I'm still debugging in this repo to see where this occurs
@rxmarbles Have you come up with a solution?
i'm facing this problem. How can i solve this issue?