-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
toastr shows up again when trying to go back #36
Comments
Hello @2jiwon, thank you for using the Additionally, I suggest removing all the code related to the outdated version from your blade template. This should help ensure that the latest version works seamlessly with your project. Thank you again for using this package, and please let me know if you have any questions or concerns. |
@yoeunes Thank you for your reply. I tried what you suggested
so I also tried |
@yoeunes oops, nevermind. it was because my composer version. I was able to update to 2.3. |
please remove all this code from your blade template: @if (Session::has('success'))
<div class="row justify-content-end">
<div class="col-3 col-align-self-end alert alert-success alert-block">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>
toastr.success("{{ $message }}");
</strong>
</div>
</div>
@endif
....
<!-- container-fluid end -->
@toastr_css
@toastr_js
@toastr_render |
Hello,
I am using toastr and it's a great package.
Actually, I have a question.
toastr message shows up again when I try to go back on view page.
Here's some part of my code.
// controller
// blade
Did I do something wrong here? Or could you tell me where should I check for?
The text was updated successfully, but these errors were encountered: