-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 2.1.9 error #52
Comments
Hi Michael, I was getting the same issue. If you look at your code, you need to use use Jantinnerezo\LivewireAlert\LivewireAlert; and then include the trait inside the class. There is no 'WithAlert' include that I can see. I've just done this and the alerts work fine. e.g
|
Hi @anthony-brindley , your solution works, everything is ok now, thanks a lot |
Hi @jantinnerezo I just notice the "$this->confirm" shows up, but 'onConfirmed' it doesn't run the function, I. tried changing to ->alert but is the same, the 'onConfirmed' => 'confirmedClearAll' still doesn't work, the listener is in place Appreciate any help |
Hi, I've been using Livewire-alert and it worked excellent, but I just updated to 2.1.9 and starting getting the error "Method App\Http\Livewire\XXXX\XXXX::alert does not exist", so I went to the readme and saw I need it to add this that I didn't have before:
I added them and now Im getting a
"Trait 'App\Http\Livewire\PageMaker\LivewireAlert' not found"
Appreciate any help
Regards
Michael
The text was updated successfully, but these errors were encountered: