Add files restriction for input

This commit is contained in:
Sébastien Thuret 2021-10-24 17:41:29 +02:00
parent aaa3c83d4f
commit 82c2f4396d
No known key found for this signature in database
GPG key ID: 4742E2D66933BB08

View file

@ -180,7 +180,7 @@
<div class="file-field input-field">
<div class="btn">
<span>File</span>
<input type="file" @change="handleInputFile" ref="fileInputRef">
<input type="file" :accept="supportedFilesFormatFormatted" @change="handleInputFile" ref="fileInputRef">
</div>
<div class="file-path-wrapper hidden">
<input class="file-path validate" type="text">