Actions error in Infolist
I have the a infolist with 2 cards which are conditionally displayed. They both have different actions.
When I do the
start_configuration
action the card gets hidden and the other card gets displayed. But when I want to click the close_configuration
action I get a javascript error in my console. The action only works when I refresh, how can I fix this?Solution:Jump to solution
@pboivin I just updated to the newest livewire beta (3.0.7) and it seems to be fixed so I'm closing this issue for now π
8 Replies
This is the error in my console:
I've tried replacing the hidden with style display: none; so that the component stays rendered in the background
But that also doesn't seem to work
I think it has something to do with the
->requiresConfirmation()
modal. Because when I switch from the close_action
to the start_configuration
it seems to work
Morning, this still doesn't seem to be working. I was wondering if I'm doing something wrong or if its a bugI'm also getting this error in a different context (with the Builder field). I'm trying to look into it.
Okay, so its not something in my code π
Maybe not... probably not π
Haha okay thanks, I'll wait if you find something π
@eazyurk Something you can try is running off of Livewire's
main
branch (until the next beta is tagged). In your composer.json :
Then run php artisan optimize:clear
and make sure to clear the browser's cache.Solution
@pboivin I just updated to the newest livewire beta (3.0.7) and it seems to be fixed so I'm closing this issue for now π
Thx I was already looking how to do it haha π