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

Allow directory selection using file selector #2086

Open joarleymoraes opened 5 years ago

joarleymoraes commented 5 years ago

I can successfully use the drag-and-drop feature to select directories, but I can't do that with the file selector (ngf-select)

Is that by design ? Or am I missing something ?

Here's my integration:

<div ngf-select="" ngf-drop="" ng-model="files" ngf-model-options="modelOptionsObj" class="transfer-drop-box-selector" ngf-drag-over-class="'transfer-drag-overlay'" ngf-multiple="true" ngf-allow-dir="true" accept="*" ngf-pattern="*" ngf-change="change($files, $file, $newFiles, $duplicateFiles, $invalidFiles, $event)">
  </div>