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/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
FEATURE REQUEST: I'm tasked with coming up with badge functionality for p-menubar.
Love this library, thanks!
tvg
We'll add badges to all menus so expanding the issue.
Do you have any plan to include this in version 6?
I'm using PrimeNg 7.
I can see that there's a property "badge" in the interface "MenuItem".
Is the functionality implemented in version 7?
@JanRAndersson seems 'badge' & 'badgeStyleClass' are used only in premium templates..
Unfortunately, these properties are ignored in the PrimeNG MenuItem template. It would be easy and very helpful to add something like <span class="ui-menuitem-badge" *ngIf="item.badge" [ngClass]="item.badgeStyleClass">{{item.badge}}</span> to the template.
Whats going on with this? On 11.0 and the badge stuff is still ignored
Most helpful comment
Unfortunately, these properties are ignored in the PrimeNG MenuItem template. It would be easy and very helpful to add something like
<span class="ui-menuitem-badge" *ngIf="item.badge" [ngClass]="item.badgeStyleClass">{{item.badge}}</span>to the template.