diff --git a/src/app/components/contextmenu/contextmenu.ts b/src/app/components/contextmenu/contextmenu.ts index d5e59665310..ad444896356 100755 --- a/src/app/components/contextmenu/contextmenu.ts +++ b/src/app/components/contextmenu/contextmenu.ts @@ -47,7 +47,7 @@ import { Nullable, VoidListener } from 'primeng/ts-helpers'; [ngClass]="{ 'p-submenu-list': !root, 'p-contextmenu-root-list': root }" [@overlayAnimation]="visible" (@overlayAnimation.start)="onEnter($event, sublist)" - [id]="menuId + '_list'" + [attr.id]="menuId + '_list'" [tabindex]="tabindex" [attr.aria-label]="ariaLabel" [attr.aria-labelledBy]="ariaLabelledBy" @@ -61,7 +61,7 @@ import { Nullable, VoidListener } from 'primeng/ts-helpers';