Skip to content

Commit 987706d

Browse files
committed
Fix accept attribute
1 parent 6d81705 commit 987706d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-file-dropzone",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "Svelte component for fileupload and file dropzone",
55
"scripts": {
66
"package": "svelte-kit sync && svelte-package && publint",

src/lib/components/Dropzone.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
on:drop={composeDragHandler(onDropCb)}
319319
>
320320
<input
321-
{accept}
321+
accept={accept?.toString()}
322322
{multiple}
323323
{required}
324324
type="file"

0 commit comments

Comments
 (0)