popup menu is showing blank items in dashboard.component.html -Serenity 5.2.0

Post Reply
m.mohammadi
Posts: 7
Joined: 17 Jan 2018, 07:53

28 Feb 2018, 10:32

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'}
];

cagatay.civici
Prime
Posts: 17966
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 Mar 2018, 22:55

We'll check and get back to you.

m.mohammadi
Posts: 7
Joined: 17 Jan 2018, 07:53

07 Mar 2018, 13:25

Do You have any update on this?

merve7
Posts: 273
Joined: 12 Sep 2017, 10:44

12 Mar 2018, 08:26

We fixed for next release.

m.mohammadi
Posts: 7
Joined: 17 Jan 2018, 07:53

14 Mar 2018, 14:30

Could You help me How to fix it for my current version? Because I can not wait for next release

merve7
Posts: 273
Joined: 12 Sep 2017, 10:44

16 Mar 2018, 09:43

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>

m.mohammadi
Posts: 7
Joined: 17 Jan 2018, 07:53

19 Mar 2018, 15:46

Thanks , It worked for me

Post Reply

Return to “Serenity - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest