Skip to content

Commit caa6b96

Browse files
committed
refactor(material/stepper): update naming convention for new index
Updates previous change to change naming convention for index to indicate that it is from/for Material Components.
1 parent a0b62cb commit caa6b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/stepper/stepper.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
[attr.aria-labelledby]="(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null"
8585
[attr.aria-disabled]="_stepIsNavigable(i, step) ? null : true"
8686
[attr.aria-owns]="_getStepContentId(i)"
87-
[attr.data-test-index]="i"
87+
[attr.mat-step-index]="i"
8888
[index]="i"
8989
[state]="_getIndicatorType(i, step.state)"
9090
[label]="step.stepLabel || step.label"

0 commit comments

Comments
 (0)