F
Filamentβ€’4mo ago
nightcoding

Opening a modal on table row click with infos

Hi there πŸ‘‹πŸ» I am very sure that it's possible to open a small modal with information when clicking a table row instead of opening the view or edit page. I searched the documentation but can't find it anymore. Can someone help me out finding the correct term to search for? Thanks!!! πŸ˜„
Solution:
Meanwhile I found the section in the docs πŸ˜„ https://filamentphp.com/docs/3.x/panels/resources/viewing-records#viewing-records-in-modals But is there a way to not show the form and instead an infolist in the modal?...
Jump to solution
4 Replies
LeandroFerreira
LeandroFerreiraβ€’4mo ago
try
return $table
->recordUrl(null)
->recordAction('yourActionName')
return $table
->recordUrl(null)
->recordAction('yourActionName')
Solution
nightcoding
nightcodingβ€’4mo ago
Meanwhile I found the section in the docs πŸ˜„ https://filamentphp.com/docs/3.x/panels/resources/viewing-records#viewing-records-in-modals But is there a way to not show the form and instead an infolist in the modal?
nightcoding
nightcodingOPβ€’4mo ago
Found it too, I just have to make a infolist πŸ˜„ I love filament :fi:
LeandroFerreira
LeandroFerreiraβ€’4mo ago
exactly ✌️

Did you find this page helpful?