gladjanus43
Action is not called when first clicked on modal with modalContent()
Apperantly it does have to do with the requiresConfirmation... Dont know what I did last time. But I would like to have the user confirm their action. Any ideas why it is not mounting the modal of the confirmation?
14 replies
Action is not called when first clicked on modal with modalContent()
weird thing is, when I add the mountUsing method to one of the actions inside the custom livewire table it does instanlty execute the method.
this is the header action of the invite button. It does dd the value the first time clicked so I would assume it is mounted, it is just not executed
14 replies
Action is not called when first clicked on modal with modalContent()
this is the action which I mount when the planning is clicked
And then the view uxit.deet.weekview.show-users which is rendered does directly add the livewire table component
14 replies
Action is not called when first clicked on modal with modalContent()
yes it does indeed work normally! And also correct it is a livewire component nested.
Do you think the issue lays there? And if so can I directly render the livewire component inside the modal?
14 replies
Call livewire function in custom form component from alpine and set state for two fields
For people trying to achieve setting multiple fields:
Make your component which needs to set multiple values return a stringified json object. Then just decode it in your afterStateUpdated and set the other fields!
14 replies
Call livewire function in custom form component from alpine and set state for two fields
I also saw something from lara zeus (qr code generator) where a component was rendered with multiple fields. Is that something which could work, meaning that I can then set the values within the form component
14 replies