Commit 1a48f18
committed
fix: use MIME types for accepted file types capability
Change AcceptedFileTypesCapability to expect MIME types (e.g.
image/png, application/pdf) instead of file extensions. Filament's
acceptedFileTypes() requires MIME types, and using mimetypes validation
rule is more precise than mimes.1 parent dd42685 commit 1a48f18
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
0 commit comments