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
zydnrbrnOP11mo ago
this the code
No description
jaocero
jaocero11mo ago
you need to add a name inside Action::make('myAction')
zydnrbrn
zydnrbrnOP11mo 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
zydnrbrnOP11mo ago
thankss solved brooo
No description
Want results from more Discord servers?
Add your server