We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d0e6f8 + 6b9119b commit 88650a3Copy full SHA for 88650a3
src/resources/views/crud/fields/browse_multiple.blade.php
@@ -18,7 +18,7 @@
18
$field['wrapperAttributes']['data-popup-title'] = trans('backpack::crud.select_file');
19
$field['wrapperAttributes']['data-multiple'] = "false";
20
}
21
- $field['wrapperAttributes']['data-only-mimes'] = json_encode($mimes ?? []);
+ $field['wrapperAttributes']['data-only-mimes'] = json_encode($field['mime_types'] ?? []);
22
23
if($sortable){
24
$field['wrapperAttributes']['sortable'] = "true";
0 commit comments