Table inside simple resource's modal

Is there an option to view a table inside the resource edit modal? I need to put a table inside the edit modal (below the form fields) to act like a view-only relation manager
Solution:
For someone looking at this in the future I've created a ViewField with a blade file with the following content: ```php...
Jump to solution
3 Replies
Saade
SaadeOP2y ago
pretty sure i've saw this somewhere in the past
Solution
Saade
Saade2y ago
For someone looking at this in the future I've created a ViewField with a blade file with the following content:
@livewire(
\App\Filament\Resources\YouResource\RelationManagers\YourRelationManager::class,
['lazy' => true, 'ownerRecord' => $getRecord(), 'pageClass' => static::class]
)
@livewire(
\App\Filament\Resources\YouResource\RelationManagers\YourRelationManager::class,
['lazy' => true, 'ownerRecord' => $getRecord(), 'pageClass' => static::class]
)
Patrick Boivin
Patrick Boivin16mo ago
Very nice

Did you find this page helpful?