parthtejpal
Show a page of a resource in a custom filament page
I have tried your answer and found a way. Made a method on the page like :
public function openModal($record): void
{
$this->url = XResource::getUrl('edit', ['record' => $record]);
$this->dispatch('open-modal', id: 'edit-record');
}... In the view: <x-filament::modal id="edit-record" slide-over width="6xl">
<iframe wire:key="$url" loading="lazy" src="{{ $url }}" class="h-full"></iframe>
</x-filament::modal>
6 replies