->hiddenOn() it will cause Method Filament\Forms\Components\Actions\Action::hiddenOn does not exist.->hidden(function ( $state) { if (!$state) { return false; } }) it will show Typed property Filament\Forms\Components\Actions\Action::$component must not be accessed before initialization