array:2 [▼ // app/Filament/Resources/AccessGroupResource/RelationManagers/DoorsRelationManager.php:46 "_token" => "Tkf6ge5fVrBJapiLJE9IDc7A1GfLKY9rm0goNpoq" "components" => array:1 [▼ 0 => array:3 [▼ "snapshot" => "{"data":{"ownerRecord":[null,{"class":"App\\Models\\AccessGroup","key":1,"s":"mdl"}],"pageClass":"App\\Filament\\Resources\\AccessGroupResource\\Pages\\EditAcce ▶" "updates" => array:2 [▼ "mountedTableActionsData.0.selected_doors.0" => "1" "mountedTableActionsData.0.selected_doors.1" => "3" ] "calls" => array:1 [▼ 0 => array:3 [▶] ] ] ]]
// in your custom pageclass ViewWorkRequest extends ViewRecord{ use HasUnsavedDataChangesAlert; public function mount(int|string $record): void { parent::mount($record); $this->hasUnsavedDataChangesAlert(); $this->form->fill(); } }// in blade file<div> {{ $this->form }} <div class="mt-6 text-end"> <x-filament::button wire:click="save"> Save </x-filament::button> </div> <x-filament-panels::page.unsaved-data-changes-alert /></div>