Getting rid of create button
Hi,
I currently have 2 resource, MyApplicationResource & ReferralResource. I generated the ReferralResource but it uses the data from MyApplicationResource. Is there a way to get rid of the Create Referral button on my ReferralResource?
Solution:Jump to solution
In your app/Filament/Resources/<YourResource>/Pages/ there should be a list file there.
protected function getHeaderActions(): array
{
return [...
3 Replies
Solution
In your app/Filament/Resources/<YourResource>/Pages/ there should be a list file there.
protected function getHeaderActions(): array
{
return [
//Actions\CreateAction::make(),
];
}
That is how I got rid of my button.
Thank you so much!
No problem!