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

Feature Request: Templating for Toast component #1249

Closed
gbayarri opened this issue May 11, 2021 · 1 comment
Closed

Feature Request: Templating for Toast component #1249

gbayarri opened this issue May 11, 2021 · 1 comment
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@gbayarri
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

Feature request
Could it be possible to add raw html to a Toast component?

this.$toast.add({severity:'success', summary: 'Success Message', detail:'Order <strong>submitted</strong>', life: 3000});
@mertsincan mertsincan self-assigned this May 12, 2021
@mertsincan mertsincan added this to the 3.5.0 milestone May 12, 2021
@mertsincan mertsincan added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label May 12, 2021
@mertsincan mertsincan removed this from the 3.5.0 milestone May 12, 2021
@zecka
Copy link

zecka commented Jun 22, 2021

A hacky solution is to extends toast component:
https://stackoverflow.com/a/68083602/2838586

@tugcekucukoglu tugcekucukoglu added this to the 3.5.2 milestone Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

4 participants