Ben
Action modal registered using render hook not trigger the modal
I have Livewire component that had an action modal in it. When I click the trigger button, its not trigger the modal. I checked the network tab, its actually dispatch the
close-modal
instead of open-modal
.
If I put the button somewhere else (page header action, table header action) it works. How can I achieve this? I just wanted to have button trigger of the modal on topbar.
Here are the action snippet
11 replies
Reactive field and afterStateUpdated is not update in realtime on Forms\Components\TextInput\Mask
I'm currently create a dependent field using reactive() and afterStateUpdate to update the other field's value in money format. It's working normally on basic TextInput in realtime of course, but it become passive when I using the TextInput\Mask. Is there any way to make the mask update in realtime just like the TextInput?
1st video is TextInput, 2nd video is using TextInput\Mask.
Here is the code snippet.
6 replies