Category : laravel-livewire

I have a simple checkbox form which has three options. I want to calculate the price dynamically and i am not storing these values in a database. <div class="custom-control custom-checkbox"> <input type="checkbox"id="option1" wire:click="test" wire:model="additions" value="option1"> <label class="custom-control-label" for="option1">Option 1</label> </div> <div class="custom-control custom-checkbox"> <input type="checkbox" id="option2" wire:click="test" wire:model="additions" value="option2"> <label class="custom-control-label" for="option1">Option 2</label> </div> <div ..

Read more

I don’t have a lot of experience in Laravel and PHP, So the question may feel childish to you. But I am sorry, I’m really stuck here. I am able to trigger the function ‘showThis()’ Through protected $listeners = array(‘customer-list’ => ‘showThis’, ‘payments-dash’ => ‘showThat’); But I need to trigger the function ‘showThis($x)’ with an ..

Read more

I have been having having a for 404 error message on my livewire laravel project anytime I type an input. It was working perfectly fine on localhost but was giving this error of GET https://chat.mhminternationaltv.com/livewire/livewire.js?id=83b555bb3e243bc25f35 net::ERR_ABORTED 404 on the console. My asset_url in Livewire.php in my config folder points to my subdomain folder `’asset_url’ => ..

Read more

My post routes are created with Route::resource(‘posts’, PostController::class); Thus the following routes have the same url but different methods posts.destroy url: posts/{post} method: DELETE posts.show url:posts/{post} method: GET I use a confirm deletion modal (livewire-ui/modal) and at some time, I need to redirect from the modal component to the posts.destroy route. I use this: return ..

Read more