Hi ,
In new release popup menu containing "items" variable in dashboard.component.html is showing all items as blank . I checked in Live preview also it exactly the same behaviour. Please assist to fix this.
<p-panel header="Tasks">
<button pButton type="button" icon="ui-icon-menu" class="secondary-btn" (click)="menu.toggle($event)"></button>
<p-menu #menu popup="popup" [model]="items"></p-menu>
this.items = [
{label: 'Save', icon: 'ui-icon-check'},
{label: 'Update', icon: 'ui-icon-refresh'},
{label: 'Delete', icon: 'ui-icon-delete'}
];
popup menu is showing blank items in dashboard.component.html -Serenity 5.2.0
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
We'll check and get back to you.
-
- Posts: 7
- Joined: 17 Jan 2018, 07:53
Could You help me How to fix it for my current version? Because I can not wait for next release
You can fix it by just adding style like;
Code: Select all
<p-menu #menu popup="popup" [model]="items" [style]="{'width': '12.5em'}"></p-menu>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests