Allow multiple files in browse (#4037)

* Allow multiple files in browse

Fixes #3490

* Don't allow multiple in a single-file upload context

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
YannickMol
2021-02-12 23:57:15 +01:00
committed by GitHub
parent 902b760676
commit 82eb035ad4

View File

@@ -28,7 +28,7 @@
<template v-else>
<p class="type-label">{{ $t('drag_file_here') }}</p>
<p class="type-text">{{ $t('click_to_browse') }}</p>
<input class="browse" type="file" @input="onBrowseSelect" />
<input class="browse" type="file" @input="onBrowseSelect" :multiple="multiple" />
<template v-if="fromUrl !== false || fromLibrary !== false">
<v-menu showArrow placement="bottom-end">