Livewire function has used but show some errors

'<input type="number" wire:change="updateCount({{$l}})" public function updateCount($l) { dd('Hello', $l);     } it showiing error like nable to resolve dependency [Parameter #0 [ <required> $l ]]'
2 Replies
LeandroFerreira
LeandroFerreira10mo ago
What is the goal? Do you know how livewire works? https://laravel-livewire.com/docs/2.x/quickstart#add-counter
Livewire
Quickstart | Livewire
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Hemanath
Hemanath10mo ago
No man i am trying to access some data by change in the input field ,so i using wire:change to send data to that function which is in component. I already used that method in wire:click now here it coming error like that.