© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
5 replies
Raj Siva-Rajah

Fill modal infolist from array

Hi all.

I'm using a Table row action to display data from another record in a modal.

With forms, I can use an action's
->fillForm()
->fillForm()
method to populate the modal's
->form()
->form()
. Is there a way to do the same for a modal's
->infolist()
->infolist()
?
Solution
Answer: use a closure in
->infolist()
->infolist()
and pass the custom data to the infolist using
->state()
->state()
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Modal won't display from Infolist
FilamentFFilament / ❓┊help
3y ago
Infolist in modal
FilamentFFilament / ❓┊help
2y ago
Infolist Builder... Array ?
FilamentFFilament / ❓┊help
3y ago
Infolist in BulkAction Modal
FilamentFFilament / ❓┊help
13mo ago