Verbrauchsausweis Gewerbe

This commit is contained in:
Robert Jagtiani
2025-01-21 00:55:21 +01:00
parent 6e4c35a3fa
commit 9f0fd569b7
16 changed files with 1111 additions and 590 deletions

View File

@@ -90,7 +90,13 @@
{#if images.filter((image) => image.kategorie === kategorie).length === max}
<span class="bg-base-200 border px-4 py-2">Maximale Anzahl Bilder wurde erreicht.</span>
{:else if max > 1}
<div>
<input type="file" class="file-input file-input-ghost h-[38px]" bind:this={fileUpload} {name} multiple on:change={getAllImages} />
<slot />
</div>
{:else}
<div>
<input type="file" class="file-input file-input-ghost h-[38px]" bind:this={fileUpload} {name} on:change={getAllImages} />
<slot />
</div>
{/if}