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 2c87086 + 1bc72c1 commit 6e30428Copy full SHA for 6e30428
src/resources/views/crud/columns/text.blade.php
@@ -5,7 +5,9 @@
5
6
$column['escaped'] = $column['escaped'] ?? true;
7
$column['limit'] = $column['limit'] ?? 40;
8
- $column['text'] = Str::limit($value, $column['limit'], '[...]');
+ $column['prefix'] = $column['prefix'] ?? '';
9
+ $column['suffix'] = $column['suffix'] ?? '';
10
+ $column['text'] = $column['prefix'].Str::limit($value, $column['limit'], '[...]').$column['suffix'];
11
@endphp
12
13
<span>
0 commit comments