Method Filament\Actions\ActionGroup::getName does not exist.
kl4ver opened this issue · comments
Package
filament/filament
Package Version
v3.2.83
Laravel Version
v10.48.12
Livewire Version
v3.5.0
PHP Version
PHP 8.1
Problem description
In the getHeaderActions
of a HasForms
component in the forms
method, I try to add an ActionGroup
, but then I get the error Method Filament\Actions\ActionGroup::getName does not exist.
public function getHeaderActions(): array
{
return [
ActionGroup::make([
FormAction::make('AAA'),
FormAction::make('BBB'),
FormAction::make('CCC'),
])->label('test'),
];
}
How to fix this? In the tables it's working perfect.
Expected behavior
There shouldn't be any error, you should also can use this function in forms
Steps to reproduce
Add the code above to a form
Reproduction repository
Relevant log output
No response
Donate 💰 to fund this issue
- You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
- 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
- Thank you in advance for helping us make maintenance sustainable!
No reproduction repository
No reproduction repository
I know, but I have a sample code provided, isn't this enough?
Please read the issue template