mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-25 01:11:00 +00:00
Add files restriction for input
This commit is contained in:
parent
aaa3c83d4f
commit
82c2f4396d
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@
|
||||||
<div class="file-field input-field">
|
<div class="file-field input-field">
|
||||||
<div class="btn">
|
<div class="btn">
|
||||||
<span>File</span>
|
<span>File</span>
|
||||||
<input type="file" @change="handleInputFile" ref="fileInputRef">
|
<input type="file" :accept="supportedFilesFormatFormatted" @change="handleInputFile" ref="fileInputRef">
|
||||||
</div>
|
</div>
|
||||||
<div class="file-path-wrapper hidden">
|
<div class="file-path-wrapper hidden">
|
||||||
<input class="file-path validate" type="text">
|
<input class="file-path validate" type="text">
|
||||||
|
|
Loading…
Reference in a new issue