F
Filament•15mo ago
neneone

Infolist not showing

Hey guys, I'm trying to show an infolist on a custom dashboard, but so far everything I've tried hasn't been working. I'm implementing all the contracts and traits as reported on the docs, but the infolist doesn't show. In fact, the infolist method doesn't even get called (I tested it with a dd(1);). It doesn't matter if it's called infolist or somethingInfolist, it still doesn't get called. I couldn't find anything on the docs, and I couldn't find a solution looking into Filament's codebase, so I'd appreciate if someone could help me 🙂
No description
4 Replies
neneone
neneoneOP•15mo ago
Hey guys does someone have any idea abt this? I think the problem is the default dashboard view doesn't support infolists. Is there a way to enable infolists without publishing the view?
teah
teah•14mo ago
have you managed to get this to work? I'm having the exact issue, wanting to add an infolist in edit window but whatever i do, it wouldn't show.
neneone
neneoneOP•14mo ago
Yes I did, following what @sumardi said. You have to create a custom view for the dashboard and render the infolist onto that. The default dashboard view, differently from the Resources pages, doesn’t render an infolist element
Want results from more Discord servers?
Add your server