Open aivisionbot opened 6 months ago
I realize this issue is 4 months old but I had the same issue after upgrading to Livewire 3. It appears that the parameter must now be named $data
instead of $response
and the new parameter is the equivalent of the old $response['data']
.
The new structure looks like this:
public function confirmedMethod($data)
{
$value = $data['inputAttributes']['value'];
// ...
}
hello , i use livewire 3 and livewire-alert": "^3.0.1
i use this code in my component :
but i get this error : Unable to resolve dependency [Parameter #0 [ $response ]] in class App\Livewire\User\Bot\LastRequests