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

p-messages content pTemplate projection doesn't return the message #16487

Open
Et3rnal opened this issue Oct 4, 2024 · 1 comment
Open

p-messages content pTemplate projection doesn't return the message #16487

Et3rnal opened this issue Oct 4, 2024 · 1 comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@Et3rnal
Copy link

Et3rnal commented Oct 4, 2024

Describe the bug

First of all I see no example within the documentation so I might have this wrong.
I assume the template have access to the message content so we can have a custom template as the API indicates

<p-messages [(value)]="notificationMessages"> <ng-template let-content pTemplate="content"> <p>{{ content | json }}</p> </ng-template> </p-messages>
issue here is content doesn't have any value

Environment

Development

Reproducer

No response

Angular version

17.3.12

PrimeNG version

17.18.11

Build / Runtime

Angular CLI App

Language

ALL

Node version (for AoT issues node --version)

18.13.0

Browser(s)

any

Steps to reproduce the behavior

No response

Expected behavior

Access to the message object

@Et3rnal Et3rnal added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 4, 2024
@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 19, 2024
@mertsincan mertsincan added this to the Future milestone Nov 19, 2024
Copy link

Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
Status: Review
Development

No branches or pull requests

2 participants