Problem with Toast

UI Components for Angular
Post Reply
profeciak
Posts: 2
Joined: 03 Jul 2020, 15:40

03 Jul 2020, 15:43

Before update to PrimeNg 9 I was using p-growl to show all the messages on the screen. Now I've changed it to <p-toast> and I'm creating them like :
this.messageService.add({severity: 'warn', summary: 'Warning', detail: warnMessage, life: 4000});
But I don't know why every message has white background. Earlier usin practicaly the same format in p-growl it was red. Am I missing something?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests