How to create infolist for RelationManager

I'm trying to create an infolist for relationmanager. But, it seems I can't from the message? Is it a possible way to create an infolist for RelationManager or other read only view?
No description
5 Replies
IndomieRendang
IndomieRendang9mo ago
Hover to the underlined words to see the error. Usually that happens when the Infolist class isn't imported yet
lazydog
lazydog9mo ago
Please drop your class code here, and make sure your Infolist is imported
Bagus A
Bagus A9mo ago
Method 'App\Filament\Resources\OrderResource\RelationManagers\ItemsRelationManager::infolist()' is not compatible with method 'Filament\Resources\RelationManagers\RelationManager::infolist()'.intelephense(P1038)
IndomieRendang
IndomieRendang9mo ago
Yups. Import the Infolist class
Bagus A
Bagus A9mo ago
What do you mean by import the class? Ooh I see