From 8c8b51cb33bd7f78d0ec0f481673c3a39eb12bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna-Sara=20S=C3=A9lea?= Date: Wed, 25 Feb 2026 22:49:44 +0100 Subject: [PATCH] Small fix with tables --- .../Resources/Participants/Tables/ParticipantsTable.php | 2 +- app/Filament/Resources/Volunteers/Tables/VolunteersTable.php | 3 ++- resources/views/mail/lan.blade.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Filament/Resources/Participants/Tables/ParticipantsTable.php b/app/Filament/Resources/Participants/Tables/ParticipantsTable.php index e020b29..bee5fa2 100644 --- a/app/Filament/Resources/Participants/Tables/ParticipantsTable.php +++ b/app/Filament/Resources/Participants/Tables/ParticipantsTable.php @@ -42,7 +42,7 @@ class ParticipantsTable ->exporter(ParticipantExporter::class), ]) ->columns([ - TextColumn::make('lan_id') + TextInputColumn::make('lan_id') ->label('ID') ->searchable() ->sortable(), diff --git a/app/Filament/Resources/Volunteers/Tables/VolunteersTable.php b/app/Filament/Resources/Volunteers/Tables/VolunteersTable.php index 5da4b90..bf2efd7 100644 --- a/app/Filament/Resources/Volunteers/Tables/VolunteersTable.php +++ b/app/Filament/Resources/Volunteers/Tables/VolunteersTable.php @@ -13,6 +13,7 @@ use Filament\Forms\Components\Select; use Illuminate\Support\Facades\Mail; use App\Mail\LanMail; use Filament\Support\Icons\Heroicon; +use Filament\Tables\Columns\TextInputColumn; use App\Models\Volunteer; use App\Models\Mailtemplate; @@ -23,7 +24,7 @@ class VolunteersTable return $table ->recordAction(null) ->columns([ - TextColumn::make('lan_id') + TextInputColumn::make('lan_id') ->label('ID') ->searchable() ->sortable(), diff --git a/resources/views/mail/lan.blade.php b/resources/views/mail/lan.blade.php index 8ee1239..ad46c7f 100644 --- a/resources/views/mail/lan.blade.php +++ b/resources/views/mail/lan.blade.php @@ -1,5 +1,5 @@

{{$title}}

-

{{$type}} {{$name}}

+

{{$type}} {{$name}}!

{!! str($content)->markdown()->sanitizeHtml() !!}