F
Filament2mo ago
Prodex

How to show a slideover infolist view when clicking a row in a resource table?

Can anyone provide code examples for something like that? Thanks!
5 Replies
Prodex
Prodex2mo ago
Anyone?
LeandroFerreira
LeandroFerreira2mo ago
Are you using a ViewAction with slideOver()? I mean, this
Tables\Actions\ViewAction::make()
->slideOver()
->infolist([
TextEntry::make('your_field')
])
Tables\Actions\ViewAction::make()
->slideOver()
->infolist([
TextEntry::make('your_field')
])
Prodex
Prodex2mo ago
Yeah but I want it to be activated when clicking the row not having an action button for it
LeandroFerreira
LeandroFerreira2mo ago
Use $table->recordAction('view')
Prodex
Prodex2mo ago
that easy? Oh wow, I couldn’t find recordAction documented. Can’t test now, but will do tomorrow ❤️