Base solution for your next web application
Open Closed

Show many Message with abp.notify.js? #9077


User avatar
0
sempus created

How can I display multiple messages at once in ASPNETZERO (Angular) with abp.notify.js ?. When I tried the example below, it also just shows each other (not automatically arranged on top)

this.notify.info(this.l('SavedSuccessfully'), '', { timer: 5000, toast: true }); this.notify.info('1', '', { timer: 5000, toast: true }); this.notify.info('2', '', { timer: 5000, toast: true }); this.notify.info('3', '', { timer: 5000, toast: true }); this.notify.info('4', '', { timer: 5000, toast: true }); this.notify.info('5', '', { timer: 5000, toast: true });

Thanks


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    The built-in abp.notify.js is using Swal, it does not support multiple toast. https://github.com/sweetalert2/sweetalert2/issues/808

    You may consider replacing it with other components. For example, https://ngx-toastr.netlify.app/