New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
application mime type not allowing in chrome. #1322
Comments
Hey i have a similar issue, while i am able to use Dropzone to upload file types of Using MS Edge Version 119.0.2151.44 (Official build) (64-bit) Any help? or News?
I get the error
|
@savva312 did you got any solution for this? |
Hey @phani1585 no, I haven't found anything. Having a normal input element and having |
Specifying the application types individually seems to make the warning to go away
|
Thank you @savva312 , it worked |
I'm allowing to accept application mime type below is my code snap
let accept =
"application/pdf,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/zip";
<Dropzone
onDrop={onDropFile}
accept={accept ? { [accept]: [] } : {}}
multiple={false}
>
{({ getRootProps, getInputProps }) => (
<div
{...getRootProps()}
className={
${className} flex items-center justify-center space-x-3 w-full h-full px-3 py-3 cursor-pointer border border-default rounded-md
}>
<input {...getInputProps()} />
)}
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: