Custom recordAction()

Hi, how can I trigger a custom action when a record is clicked? There is ->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(),
            ])
Solution
try to add ->recordUrl(null)
Was this page helpful?