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;
}
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(),
];
}
}
<?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(),
];
}
}
No description
Solution:
GitHub
$formActionsAreSticky is not working · Issue #18276 · filamentphp...
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...
Jump to solution
2 Replies
Dennis Koch
Dennis Koch2mo ago
Yep. Looks like this broke. Can you open a issue on Github, please?
Solution
Fireflies
Fireflies5w ago
GitHub
$formActionsAreSticky is not working · Issue #18276 · filamentphp...
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...

Did you find this page helpful?