Hello,
On "primeng": "^11.3.0",
There is a problem with visible on top menu (on submenu item it works!)
...
ngOnInit() {
this.items = [
{
label: 'Videos',
icon: 'pi pi-fw pi-video',
items: [
[
{
label: 'Video 1',
items: [{ label: 'Video 1.1' }, { label: 'Video 1.2' }],
},
{
label: 'Video 2',
items: [
{ label: 'Video 2.1', visible: false },
{ label: 'Video 2.2' },
],
},
],
[
{
label: 'Video 3',
visible: false,
items: [{ label: 'Video 3.1' }, { label: 'Video 3.2' }],
},
{
label: 'Video 4',
items: [{ label: 'Video 4.1' }, { label: 'Video 4.2' }],
},
],
...
Video 2.1 is well not visible ==> OK
Video 3 complete menu should be not visible but it is still visible ==> KO
This is the stackBlitz url to reproduce the pb
https://stackblitz.com/edit/primeng-meg ... emo-xc6g98
MenuModel "visible: false" not work on top menu
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests