19 questions
4
votes
1
answer
66
views
How to fix Livewire ComponentNotFoundException on wire:click events?
I have a Livewire component where $this->getName() works correctly and displays user name, but wire:click="logout" triggers a ComponentNotFoundException. The error message shows: Unable ...
0
votes
1
answer
135
views
Component not auto re-rendering after performing any action
commerce app in laravel livewire3, cart component data not updating after perform any action like updateQty, removeItem etc.
I want to auto update cart itmes values after perform any action.
Cart.php
...
1
vote
0
answers
113
views
LiveWire v3 Dispatch Method Does Not Show Bootstrap Modal In Laravel v11
I'm working with Laravel v11 and wanted to show a Modal on users list blade when clicking on Add New Button:
<div class="card-header">
<div class="card-tools">
...
3
votes
0
answers
733
views
Livewire Component Returns 404 Error After Clicking Button in Laravel
I'm working with Laravel 11 and Livewire to create a simple component that increments a counter when a button is clicked. However, when I click the "Increment" button, instead of updating ...
0
votes
1
answer
1k
views
caught Snapshot missing on Livewire component with id:
Whey i try to filter via buttons i get this error
caught Snapshot missing on Livewire component with id:
This is my code
<div>
<div class="flex flex-col w-full gap-6 mx-auto lg:flex-...
0
votes
1
answer
342
views
Livewire 3 - does not perform any action at all
I am being researching and following the tutorials online to get some help as I am trying to use the Livewire - lazyload feature on the laravel app. I have tried most of the function but apparently ...
0
votes
0
answers
243
views
Livewire method not being called
I'm encountering an issue with my Livewire component where a method call is not being triggered.
I have a Livewire component in my Laravel project that includes a button with a wire:click directive ...
0
votes
0
answers
993
views
wire click livewire method responds slowly when there are other methods that have larger processing data
I'm using livewire v2. I have a problem when calling a method in livewire feels slow because another method has a large data process, for example I have 2 methods. the first method is called ...
1
vote
0
answers
156
views
Is it a good practice when i make a livewire component from the <head> section of a webpage?
When i make a livewire component from the head section of a webpage, there are some livewire related attributes added to the tag.
ex:
<head wire:snapshot="{"data":[],&...
0
votes
1
answer
60
views
problem with properties which determine the method to call on wire:click buttons
I have a problem with liveware, which is that I cannot make dynamic buttons whose method depends on the model, for example:
each button depends on the array returned by the Vote model, which defer ...
0
votes
1
answer
796
views
wire:click not working in if statement using laravel livewire
Hello I am currently working on a popover for my website and i want it to open when i press on a phone number. When pressing on the phonenumber i call a function in my livewire component called "...
1
vote
1
answer
2k
views
How to Open Links in New Tabs with Laravel Livewire's wire:click.prevent
I'm using the wire:click.prevent attribute to navigate inside the app by dynamically loading components using $emit inside the click attribute. For example:
<a href="{{ route('inventory.show') ...
0
votes
2
answers
1k
views
Laravel 10 - Livewire wire:clicks won't work
I'm using Livewire 2.12 and Laravel 10.10.
I have a problem in Livewire, when I'm clicking on the sign in button, the "login" function in the Login.php component is not executed.
Could the ...
1
vote
1
answer
400
views
Livewire Autofill Input Box Based On Drop Down Selection
hello im new for livewire I'm trying to get input value based on dropdown value.
when i select example drop-down value TOMATO in input show its price.
i done this using jQuery but I want operate it in ...
0
votes
1
answer
571
views
how to solve the filter button on livewire not working?
I have a problem when I click the active or nonactive filter button, the table results do not change at all. I want when I click the active button the results of the table will show only records that ...