Experiment: allow to use the default file picker, see #2202

This commit is contained in:
Pieter Vander Vennet 2024-11-25 12:03:26 +01:00
parent a94a7ecd71
commit 86baf130f3
2 changed files with 10 additions and 2 deletions

View file

@ -97,7 +97,7 @@
<Tr t={error} cls="alert" />
{/each}
<FileSelector
accept="image/*"
accept=".jpg,.jpeg"
cls="button border-2 flex flex-col"
multiple={true}
on:submit={(e) => handleFiles(e.detail)}
@ -122,6 +122,14 @@
{/if}
</div>
</FileSelector>
<FileSelector
accept={undefined}
cls="subtle as-link flex justify-center md:hidden"
multiple={true}
on:submit={(e) => handleFiles(e.detail)}
>
Use the file selector dialog
</FileSelector>
<div class="subtle text-xs italic">
<Tr t={Translations.t.general.attribution.panoramaxLicenseCCBYSA} />
<span class="mx-1"></span>