MessageService add method arguments are not working. #2755
Unanswered
pshanmugasundaram
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried customizing the existing icon(pi pi-times) for error messages with a different primeIcon through MessageService.
this.messageService.add({
severity:'error',
summary:'Oops, there was an error.',
detail:'Please try again or contact the phone number on your Welcome Kit for assistance.',
icon: "pi pi-exclamation-triangle",
});
But, I don't see that the icon getting changed. Am i missing anything?
I am making use of "primeicons": "7.0.0", "primeng-lts": "9.2.8"
Has any of you faced this issue? If so, how did you get this fixed?
Beta Was this translation helpful? Give feedback.
All reactions