Adding headingActions on infolist livewire

i wanna add headingActions on Section component, but got this error, i think i've been missed something ...
No description
5 Replies
zydnrbrn
zydnrbrnOP12mo ago
this the code
No description
jaocero
jaocero12mo ago
you need to add a name inside Action::make('myAction')
zydnrbrn
zydnrbrnOP12mo ago
i've been try that and still same error, i think on make('') i must call the function?
Arnold Schwarzenegger
Do you need the Actions::make() part? Can't you just pass the actions in the array? Like this
->getHeaderActions([
Actions\Action::make('Download'),
])
->getHeaderActions([
Actions\Action::make('Download'),
])
zydnrbrn
zydnrbrnOP12mo ago
thankss solved brooo
No description

Did you find this page helpful?