F
Filament7mo 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
ProdexOP7mo ago
Anyone?
LeandroFerreira
LeandroFerreira7mo 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
ProdexOP7mo ago
Yeah but I want it to be activated when clicking the row not having an action button for it
LeandroFerreira
LeandroFerreira7mo ago
Use $table->recordAction('view')
Prodex
ProdexOP7mo ago
that easy? Oh wow, I couldn’t find recordAction documented. Can’t test now, but will do tomorrow ❤️
Want results from more Discord servers?
Add your server