Skip to content

Commit

Permalink
fix: call base isHidden method in addition to checking action
Browse files Browse the repository at this point in the history
  • Loading branch information
danjohnson95 committed Jan 8, 2025
1 parent 93768c4 commit b94006f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/forms/src/Components/Actions/ActionContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@

namespace Filament\Forms\Components\Actions;

use Filament\Forms\Components\Concerns;
use Filament\Forms\Components\Component;

class ActionContainer extends Component
{
use Concerns\CanBeHidden {
isHidden as baseIsHidden;
}

protected string $view = 'filament-forms::components.actions.action-container';

protected Action $action;
Expand All @@ -31,6 +36,6 @@ public function getKey(): string

public function isHidden(): bool
{
return $this->action->isHidden();
return $this->baseIsHidden() || $this->action->isHidden();
}
}

0 comments on commit b94006f

Please sign in to comment.