Closed
Description
Hello there,
I'm using version 2.7.5 of coreui/angular and I try to set the routerLinkActiveOptions of my navigation items as follows:
{
name: 'Vertragsregister',
icon: 'fa fa-file',
linkProps: {routerLinkActiveOptions: {exact: false}},
url: '/vertragsregister'
},
{
name: 'Vertrag anlegen',
icon: 'fa fa-plus',
linkProps: {routerLinkActiveOptions: {exact: false}},
url: '/vertragsregister/neu'
},
But the passed in routerLinkActiveOptions
have no effect because they are never used inside nav link:
<a *ngSwitchDefault
[ngClass]="item | appSidebarNavLink"
[target]="item.attributes?.target"
[queryParams]="item.linkProps?.queryParams"
[fragment]="item.linkProps?.fragment"
[queryParamsHandling]="item.linkProps?.queryParamsHandling"
[preserveFragment]="item.linkProps?.preserveFragment"
[skipLocationChange]="item.linkProps?.skipLocationChange"
[replaceUrl]="item.linkProps?.replaceUrl"
[state]="item.linkProps?.state"
[routerLink]="item.url"
[class.active]="linkActive"
(click)="linkClicked()"
>
When will this feature be supported? Or is there an alternative workaround?
Metadata
Metadata
Assignees
Labels
No labels