© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Prodex

Custom recordAction()

Hi, how can I trigger a custom action when a record is clicked? There is
->recordAction('myaction');
->recordAction('myaction');
But this doesn't trigger it. Instead, the edit action is still triggered.
$table->actions([
                Tables\Actions\Action::make('myaction')
                    ->infolist([
                        Pages\ViewHardware::list(),
                    ])
                    ->slideOver()
                    ->modalCancelAction(false)
                    ->modalSubmitAction(false),
                Tables\Actions\EditAction::make(),
            ])
$table->actions([
                Tables\Actions\Action::make('myaction')
                    ->infolist([
                        Pages\ViewHardware::list(),
                    ])
                    ->slideOver()
                    ->modalCancelAction(false)
                    ->modalSubmitAction(false),
                Tables\Actions\EditAction::make(),
            ])
Solution
try to add
->recordUrl(null)
->recordUrl(null)
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Table `recordAction()` with redirect
FilamentFFilament / ❓┊help
2y ago
recordAction() not working on v4
FilamentFFilament / ❓┊help
6mo ago
Select Table Row with the recordAction
FilamentFFilament / ❓┊help
6mo ago
Use recordAction() In a Table Widget
FilamentFFilament / ❓┊help
2y ago