Skip to content

Commit 9d899be

Browse files
committed
fixesfixes
1 parent 8210726 commit 9d899be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botasaurus-controls/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ class Controls {
492492
return this.add(id, "filePicker", {
493493
...props,
494494
limit,
495-
accept: accept && accept.length > 0 ? accept : null,
495+
accept: accept && accept.length > 0 ? accept.flat() : null,
496496
multiple:multiple ?? true,
497497
defaultValue: [],
498498
} as any);

0 commit comments

Comments
 (0)