huppeldepuppel
huppeldepuppel
FFilament
Created by huppeldepuppel on 10/1/2024 in #❓┊help
Modal with dynamic actions
I want to create a Model using a livewire or blade-view that will show a few divs. When the user clicks one of the divs, an action on the main form has to be triggered with the name of the chosen picture as an argument. What I got working is that I'm able to launch a custom Action of my Livewire modal form, but that seems to do nothing, probably because it's in the wrong place. I think the action has to be defined in my main resource somehow. But then I won't be able to access this action in the modal. Or do I, somehow?
7 replies