felixrieseberg/React-Dropzone-Component

Inappropriate file formats are attached on the android phone

Zhanahmetova opened this issue · 1 comments

Invalid fb2 file format is attached only in android browsers.

my configs:

djsConfig = {
    maxFilesize: 20,
    maxThumbnailFilesize: 20,
    acceptedFiles: 'application/pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/msword,image/bmp,image/jpeg,image/png,image/gif',
    dictRemoveFile: 'x',
    addRemoveLinks: true,
    autoProcessQueue: false,
    autoQueue: false,
  };

I found that the fb2 file type is an empty string, which is why it is attached to the form.