A continuation of HomeBox the inventory and organization system built for the Home User
only accept common image formats (#227)
mcarbonnef3f709748e76
diff --git a/frontend/components/Item/CreateModal.vue b/frontend/components/Item/CreateModal.vueindex 59130bff..3f71b4de 100644--- a/frontend/components/Item/CreateModal.vue+++ b/frontend/components/Item/CreateModal.vue@@ -10,7 +10,7 @@<div class="modal-action mb-6"><div><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 class="grow"></div><div>