Skip to content

Drag & Drop directory to b-form-file input is limited to 100 files #5615

@Tiiinky

Description

@Tiiinky

Describe the bug

I am using a file input like this:

<b-form-file id="idDirectoryDrop" directory multiple v-model="droppedDirectory" browse-text="Select directory" placeholder="Drag & Drop a directory here" :file-name-formatter="formatNames" ></b-form-file>

Selecting a directory via Browse works as expected, but if you drop a directory with 100+ files inside, it will only give you 100 files in the v-model as an array.

Expected behavior

Same as when browsing for a directory, when dropped, the array should contain all files

Versions

Libraries:

  • BootstrapVue: 2.15.0
  • Bootstrap: 4.4.1
  • Vue: 2.6.10

Environment:

  • Device: MacBook
  • Browser: Chrome

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions