Skip to content
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

multiple toast alerts? #72

Closed
mpixelz opened this issue Feb 13, 2020 · 2 comments
Closed

multiple toast alerts? #72

mpixelz opened this issue Feb 13, 2020 · 2 comments

Comments

@mpixelz
Copy link

mpixelz commented Feb 13, 2020

Hi,
is there a way to show multiple toast alerts? i know it wasnt possible before but now we have toasts in the options so how can we have multiple alerts in toasts?
p.s im pushing alerts from controller using Alert::toast();

@realrashid
Copy link
Owner

Hey @mpixelz ,
It's not possible to show multiple alerts or toasts on same page.
Because the package uses Laravel Session's so the alert or toast have same session keys name.
When you use Alert::toast('','','') this will generate sweetalert js code.

@realrashid
Copy link
Owner

Closed due inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants