Closed susanu closed 3 months ago
Since we are on the topic, the values for this type of column (in my case) are very long in length.
Any way we can control the display value for upload
column type?
EDIT: Something like this, code before @endphp
:
if (isset($column['display_value'])) {
if ($column['display_value'] instanceof \Closure) {
$column['display_value'] = $column['display_value']($entry);
}
$column['value'] = $column['display_value'];
}
Bug report
I have a nullable attribute that stores files into s3.
When displaying the link, it gives the below error if the column is
null
.Is it a bug in the latest version of Backpack?
Yes
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is: