diff --git a/packages/actions/src/Concerns/InteractsWithActions.php b/packages/actions/src/Concerns/InteractsWithActions.php index 45c4073704..658ad70d85 100644 --- a/packages/actions/src/Concerns/InteractsWithActions.php +++ b/packages/actions/src/Concerns/InteractsWithActions.php @@ -260,6 +260,10 @@ trait InteractsWithActions return $action; } + if (! method_exists($this, $name)) { + return null; + } + $action = Action::configureUsing( Closure::fromCallable([$this, 'configureAction']), fn () => $this->{$name}(),