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.
1 parent c6ae697 commit c8d67e8Copy full SHA for c8d67e8
2 files changed
app/Filament/Resources/TicketResource/Pages/ViewTicket.php
@@ -101,7 +101,8 @@ protected function getActions(): array
101
->required(),
102
103
Textarea::make('comment')
104
- ->label(__('Comment')),
+ ->label(__('Comment'))
105
+ ->rows(3),
106
])
107
->action(function (Collection $records, array $data): void {
108
$value = $data['time'];
resources/views/filament/resources/tickets/view.blade.php
@@ -306,6 +306,11 @@ class="text-danger-500 text-xs hover:text-danger-600 hover:underline">
306
{{ $item->forHumans }}
307
</span>
308
</div>
309
+ @if($item->comment)
310
+ <div class="w-full">
311
+ {!! nl2br(e($item->comment)) !!}
312
+ </div>
313
+ @endif
314
315
@endforeach
316
@else
0 commit comments