Edit view from relationManager

Hello team, quick question. Is there a simple way to edit the pop up that appears as a preview of some record in RelationManager? Or should I use a custom view? I tried to use the infoList method inside my RelationManager class, but it gave me an error. Thanks in advance to anyone who can guide me.
No description
Solution:
Remove static
Jump to solution
7 Replies
Vp
Vp7mo ago
You can use form or infolist or custom view. what error you got?
el.polar
el.polarOP7mo ago
Sorry i was at my job. This is mi error.
No description
el.polar
el.polarOP7mo ago
And this is my code use Filament\Infolists\Infolist; use Filament\Infolists\Components\Group; use Filament\Infolists\Components\Section; use Filament\Infolists\Components\TextEntry; class ClassRelationManager extends RelationManager { public static function infolist(Infolist $infolist): Infolist { return $infolist ->schema([ Section::make() ->schema([ Group::make([ TextEntry::make('title') ->label(''), ]), ]), ]); } }
Solution
Vp
Vp7mo ago
Remove static
el.polar
el.polarOP7mo ago
OMG!! That's fix it!! thank you last question... is there a way to show the information into new page? not with modal?
el.polar
el.polarOP7mo ago
I'll read thank u again!
Want results from more Discord servers?
Add your server