We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
routerLinkActiveOptions
<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?
The text was updated successfully, but these errors were encountered:
fix(SidebarNavLink): routerLinkActiveOptions not passed #107
3fd78ca
@CloudStrife28492 Please update @coreui/angular to v2.9.4 and let us know if it works for you.
@coreui/angular
v2.9.4
Sorry, something went wrong.
RouterLinkActiveOptions are not passed to nav link and I am on @coreui/angular-pro version ^4.0.0-alpha.6
@joelmuskwe thanks for the heads up - should work with 4.0.2
4.0.2
xidedix
Successfully merging a pull request may close this issue.
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:
But the passed in
routerLinkActiveOptions
have no effect because they are never used inside nav link:When will this feature be supported? Or is there an alternative workaround?
The text was updated successfully, but these errors were encountered: