Adapt.Patrick
$getAction() with arguments
I should say,
self::getFormRoom()
is just a wrapper to return the array of form fields (just to help keep the code tidy). So it should use the same context as if I were to declare them directly in the ->form()
call. 🙂31 replies
$getAction() with arguments
I'm experiencing something similar here, @damarev & @LeandroFerreira. Any chance you've made any progress? My setup looks like this from the
infolist()
method of a resource:
I'm then calling the editRoomAction()
in my filament.infolists.entries.quote-room
template with {{ $getAction('editRoom') }}
My issue is $arguments
in the editRoomAction()
method is empty.31 replies
Infolist Action `->createAnother()` doesn't exist
While I've got you, @Leandro Ferreira, do you know why section
headerActions
can't be made to accept some of the default actions (such as CreateAction
) and only accept Filament\Infolists\Components\Actions\Action
instead?11 replies
Infolist Action `->createAnother()` doesn't exist
Not sure I quite understand your question @Leandro Ferreira but I'll try and answer it...
I have a
ProjectResource
which uses the infolist()
method to control what is rendered to the /view
screen. That infolist is then broken down into multiple infolist Section
s which use headerActions()
. Example below:
11 replies