1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-08-21 22:00:15 +02:00

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">