You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 aHasForms
component in theforms
method, I try to add anActionGroup
, but then I get the errorMethod Filament\Actions\ActionGroup::getName does not exist.
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
https://github.com/ask
Relevant log output
No response
Donate 💰 to fund this issue
The text was updated successfully, but these errors were encountered: