F
Filamentβ€’12mo ago
ericmp #2

How to make EditRecord header actions sticky (css)!?

<?php

namespace App\Filament\Resources\FormResource\Pages;

use App\Filament\Resources\FormResource;
use App\Models\Form;
use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
use Filament\Support\Colors\Color;

class EditForm extends EditRecord
{
protected static string $resource = FormResource::class;

protected function getHeaderActions(): array
{
return [
$this->getCancelFormAction()->icon('heroicon-o-backspace'),
Actions\DeleteAction::make()->icon('heroicon-m-trash'),
];
}
}
<?php

namespace App\Filament\Resources\FormResource\Pages;

use App\Filament\Resources\FormResource;
use App\Models\Form;
use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
use Filament\Support\Colors\Color;

class EditForm extends EditRecord
{
protected static string $resource = FormResource::class;

protected function getHeaderActions(): array
{
return [
$this->getCancelFormAction()->icon('heroicon-o-backspace'),
Actions\DeleteAction::make()->icon('heroicon-m-trash'),
];
}
}
so yeah basically i want the header actions to be sticky but im not finding how to do it. is possible using filament, or not?
2 Replies
awcodes
awcodesβ€’12mo ago
Filament
Sticky Header by Adam Weston - Filament
A Filament Panels plugin to make headers sticky when scrolling.
ericmp #2
ericmp #2OPβ€’12mo ago
no fakin wayyyy πŸ˜„ thanks just tried it out, its awesomeeee so ez to setup thanks again
Want results from more Discord servers?
Add your server