Use infolist instead of table in a relation manager.
I currently have a relationManager that displays a table, however I want to have a button to switch the table view into a infolist. Is it possible to do that?
3 Replies
you can display your relation manager data in infolist through action. Example:
Action::make()
->infolist([
Textentry::make()….
])
Use can design grid , layout and all that by using infolist format
U can use ->slideOver() if you want the model popup in slide mode .
That doesn’t really make sense. An infolist shows info for one entry. A table can hold multiple entries. How should that work?
I already did that for my project. I used to follow filament daily video
https://youtu.be/R6ikSf-kb6E?si=e6_xfM4isoPTNXEK
Filament Daily
YouTube
Filament: Infolist in Modal from Table Action
A quick example of how you can call an Infolist from the table using Action.
Links mentioned:
- Original tutorial: Filament: Table Row Action - View Modal with Infolist https://laraveldaily.com/post/filament-table-row-action-view-modal-infolist
- Black Friday 2023 deal: https://filamentexamples.com - coupon FRIDAY2023
- More deals: https://lara...