danialfarid / ng-file-upload

Lightweight Angular directive to upload files with optional FileAPI shim for cross browser support
MIT License
7.87k stars 1.6k forks source link

Docx files in folder cannot be detected #1982

Closed namnn96 closed 7 years ago

namnn96 commented 7 years ago

Hi,

I was working with the dragndrop. It works for .txt and .pdf files when dragging a folder, but .docx files are omitted.

Here is my option accept="*/*" ngf-drop="$ctrl.onFileDrop($files)" ngf-drag="$ctrl.onFileDrag($event, $isDragging)" ngf-drag-over-class="dragover" ngf-multiple="true" ngf-allow-dir="true" ngf-pattern="'*/*'"

I am not sure if I missed anything. Please response as soon as available.

Thanks in advance.

namnn96 commented 7 years ago

Discovered that my pattern is wrong, should be * for all, closing this.