filamentphp/filament · error · LogicException

Class [{class}] extends [Filament\Actions\ActionGroup] but d

Error message

Class [{class}] extends [Filament\Actions\ActionGroup] but does not have a [$triggerView] property defined.

What it means

Error "Class [{class}] extends [Filament\Actions\ActionGroup] but does not have a [$triggerView] property defined." thrown in filamentphp/filament.

Source

Thrown at packages/actions/src/ActionGroup.php:604

        $this->defaultTriggerView = $view;

        return $this;
    }

    /**
     * @return view-string
     */
    public function getTriggerView(): string
    {
        if (isset($this->triggerView)) {
            return $this->triggerView;
        }

        if (filled($defaultView = $this->getDefaultTriggerView())) {
            return $defaultView;
        }

        throw new LogicException('Class [' . static::class . '] extends [' . ActionGroup::class . '] but does not have a [$triggerView] property defined.');
    }

    /**
     * @return view-string | null
     */
    public function getDefaultTriggerView(): ?string
    {
        return $this->evaluate($this->defaultTriggerView);
    }

    public function toTriggerHtml(): string
    {
        return match ($this->getTriggerView()) {
            static::BADGE_VIEW => $this->toBadgeTriggerHtml(),
            static::BUTTON_VIEW => $this->toButtonTriggerHtml(),
            static::GROUPED_VIEW => $this->toGroupedTriggerHtml(),
            static::ICON_BUTTON_VIEW => $this->toIconButtonTriggerHtml(),
            static::LINK_VIEW => $this->toLinkTriggerHtml(),

View on GitHub (pinned to 53483fa934)

When it happens

Trigger: Thrown at packages/actions/src/ActionGroup.php:604 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of filamentphp/filament@53483fa934 (2026-08-17). Data as JSON: /api/errors/463733282adb16f3. Report an issue: GitHub.