Skip to content

docs: fix undefined variable in custom stepper guide #31517

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wbreakell
Copy link
Contributor

In the @for loop of the custom-stepper.component.html template, the code references an undefined variable i. To fix this, the loop should declare i using the built-in $index variable provided by Angular's @for block.

This matches the approach used in the embedded StackBlitz example for this page.

@wbreakell wbreakell requested a review from a team as a code owner July 10, 2025 06:15
@wbreakell wbreakell requested review from crisbeto and andrewseguin and removed request for a team July 10, 2025 06:15
@angular-robot angular-robot bot added the area: docs Related to the documentation label Jul 10, 2025
@andrewseguin andrewseguin added the target: patch This PR is targeted for the next patch release label Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Related to the documentation target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants