CreateAction with arguments
Hi, i try to use CreateAction with arguments in my own Livewire component.
Here a extract of my code :
blade template :
component :
How can i use argument in
required
(or Select or ...) in form
method ?
Is it possible to load
Category Model once, and use it in different sub-method in make method ?
Thanks a lot !8 Replies
you can define your own livewire property
or build a service with cache
or just define it before
To Loading model, yes, but how to use it in
required
method ?
fow now, i use this:
every callback is evaluated and resolves your params
But it's a like a hack (IMO)
every ... no ! Not this one
i do it that way
Solution
OOOOOhhhh !!!
form can have a function ... !!!!
THX a lot π
π₯³
tell me please if it works when using a confirm modal .. would make my code a lot of easier π