Skip to content
New issue

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

Can't use 0 as nav id #3569

Closed
ghost opened this issue Jan 28, 2020 · 1 comment · Fixed by #3571
Closed

Can't use 0 as nav id #3569

ghost opened this issue Jan 28, 2020 · 1 comment · Fixed by #3571

Comments

@ghost
Copy link

ghost commented Jan 28, 2020

Bug description:

<li [ngbNavItem]="0">

In this case the plugin thinks there's no id and assigns internal ID (ngb-nav-0) instead.

Link to minimally-working StackBlitz that reproduces the issue:

https://stackblitz.com/edit/angular-adgxbn?file=app/nav-basic.html

@maxokorokov
Copy link
Member

Thanks, also should be the part of 5.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant