refactor: restructure DataChangeInfolist to use Section component for improved organization and readability

This commit is contained in:
Yoga Pangestu 2026-04-09 08:30:14 +07:00
parent 30d8432cf5
commit 1ae4d58b48

View File

@ -5,6 +5,7 @@
use App\Filament\Support\CheerfulNotification;
use App\Models\DataChangeRequest;
use Filament\Infolists\Components\TextEntry;
use Filament\Schemas\Components\Section;
use Filament\Schemas\Schema;
use Illuminate\Support\Facades\Storage;
@ -13,6 +14,8 @@ class DataChangeInfolist
public static function configure(Schema $schema): Schema
{
return $schema
->schema([
Section::make()
->schema([
TextEntry::make('comparison')
->hiddenLabel()
@ -136,8 +139,8 @@ public static function configure(Schema $schema): Schema
})
->filter()
->implode('');
})
->columnSpanFull(),
}),
]),
])
->columns(1);
}