mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
only accept common image formats (#227)
Co-authored-by: Matt Kilgore <tankerkiller125@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<div class="modal-action mb-6">
|
<div class="modal-action mb-6">
|
||||||
<div>
|
<div>
|
||||||
<label for="photo" class="btn">{{ $t("components.item.create_modal.photo_button") }}</label>
|
<label for="photo" class="btn">{{ $t("components.item.create_modal.photo_button") }}</label>
|
||||||
<input id="photo" class="hidden" type="file" accept="image/*" @change="previewImage" />
|
<input id="photo" class="hidden" type="file" accept="image/png,image/jpeg,image/gif" @change="previewImage" />
|
||||||
</div>
|
</div>
|
||||||
<div class="grow"></div>
|
<div class="grow"></div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user