make create and create buttons always display on form screen even when scrolling

It's quite boring to go all the way down to save changes while i only made change to my top input so is there any way filament to make these buttons fixed
Solution:
add in the provider
\Filament\Pages\Page::$formActionsAreSticky = true;
\Filament\Pages\Page::$formActionsAreSticky = true;
...
Jump to solution
12 Replies
toeknee
toeknee2w ago
This is a way to have them floating/fixed I am sure, will dive
Solution
LeandroFerreira
add in the provider
\Filament\Pages\Page::$formActionsAreSticky = true;
\Filament\Pages\Page::$formActionsAreSticky = true;
toeknee
toeknee2w ago
Would you mind doing a PR to the docs?
LeandroFerreira
yes
Adnan Yalahow
Adnan Yalahow2w ago
I have added this line to my AppServiceProvider in the boot function but i can't see any changes. would you please explore more? Thank you
LeandroFerreira
share a video or screenshot to see the issue
Adnan Yalahow
Adnan Yalahow2w ago
the first image I am at the top of my page and can't see any form actions apart from delete. The second is is when I scroll down, then i will see save changes or if its create i see create and create another i want them to be always visible when my form is long
No description
No description
LeandroFerreira
This should work unless the height isn’t sufficient to display the actions. Could you try adding some placeholder fields to see if they appear?
toeknee
toeknee2w ago
Must say I am not seeing it trigger it anymore when I tested it
Adnan Yalahow
Adnan Yalahow2w ago
still no change
Adnan Yalahow
Adnan Yalahow2w ago
Very weird behavior 🤔 I don't know if a certain height is applicable here, but while my page was long enough to be scrolled I could not see any changes, surprisingly when added more useless form components to my form I see the change. anyway Thank you.