FilamentF
Filament3mo ago
4 replies
Fireflies

formActionsAreSticky seems not to be working as expected

Adding
public static bool $formActionsAreSticky = true;

to create page seems not to enable sticky form actions.

I also had lobal setting in AppServiceProvider which seems to be broken now too:

    public function boot(): void
    {
        Page::$formActionsAreSticky = true;
    }


I cannot find documentation about changed usage about this.

I recreated it on Filament v4 demo project at app/Filament/Resources/Blog/Links/Pages/CreateLink.php

Code to recreate:
<?php

namespace App\Filament\Resources\Blog\Links\Pages;

use App\Filament\Resources\Blog\Links\LinkResource;
use Filament\Resources\Pages\CreateRecord;
use LaraZeus\SpatieTranslatable\Actions\LocaleSwitcher;
use LaraZeus\SpatieTranslatable\Resources\Pages\CreateRecord\Concerns\Translatable;

class CreateLink extends CreateRecord
{
    use Translatable;

    protected static string $resource = LinkResource::class;

    public static bool $formActionsAreSticky = true;

    protected function getHeaderActions(): array
    {
        return [
            LocaleSwitcher::make(),
        ];
    }
}
Monosnap_Create_Link_-_Filament_Demo_2025-10-19_17-55-55.png
Solution
GitHub
Package filament/filament Package Version v4 Laravel Version v12 Livewire Version v3 PHP Version PHP 8.4 Problem description Adding public static bool $formActionsAreSticky = true; to pages seems n...
$formActionsAreSticky is not working · Issue #18276 · filamentphp...
Was this page helpful?