F
Filament3mo 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
Prodex3mo ago
Anyone?
LeandroFerreira
LeandroFerreira3mo 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
Prodex3mo ago
Yeah but I want it to be activated when clicking the row not having an action button for it
LeandroFerreira
LeandroFerreira3mo ago
Use $table->recordAction('view')
Prodex
Prodex3mo ago
that easy? Oh wow, I couldn’t find recordAction documented. Can’t test now, but will do tomorrow ❤️