[#2466] added accept file field attr

This commit is contained in:
Gani Georgiev
2023-05-13 22:23:19 +03:00
parent e8b4a7eb26
commit 6bde84131c
31 changed files with 114 additions and 111 deletions
@@ -193,6 +193,7 @@
bind:this={fileInput}
type="file"
class="hidden"
accept={field.options?.mimeTypes?.join(",") || null}
multiple={isMultiple}
on:change={() => {
for (let file of fileInput.files) {