lazy loading an infolist

I'm wondering how I would go about lazy loading this infolist:
public static function myInfolist(Infolist $infolist): Infolist
{
return $infolist->schema(self::getInfoListEntries())->columns([
'sm' => 1,
]);
}
public static function myInfolist(Infolist $infolist): Infolist
{
return $infolist->schema(self::getInfoListEntries())->columns([
'sm' => 1,
]);
}
{{ $this->myInfolist}}
{{ $this->myInfolist}}
i know you can do it when it's just a regular livewire component, so maybe I need to just move/wrap this in a livewire component and go that route?
0 Replies
No replies yetBe the first to reply to this messageJoin