Skip to content

Angular 17 @for directive not working with Stepper #1993

Closed Answered by dalvarez-opt
dalvarez-opt asked this question in PrimeNG
Discussion options

You must be logged in to vote

Yes, simply add a @if annotation, so the for loop only fires when steps have been loaded in component.ts:

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dalvarez-opt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants