From 60707b385a11d4c2517e6fac7c72165b2daa9354 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 6 Oct 2017 22:26:26 +0200 Subject: [PATCH] fix(stepper): don't grey out non-linear steps (#7479) Fixes #7260. --- src/lib/stepper/stepper-horizontal.html | 2 +- src/lib/stepper/stepper-vertical.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/stepper/stepper-horizontal.html b/src/lib/stepper/stepper-horizontal.html index 905f8dee803..5388801e155 100644 --- a/src/lib/stepper/stepper-horizontal.html +++ b/src/lib/stepper/stepper-horizontal.html @@ -11,7 +11,7 @@ [icon]="_getIndicatorType(i)" [label]="step.stepLabel || step.label" [selected]="selectedIndex === i" - [active]="step.completed || selectedIndex === i" + [active]="step.completed || selectedIndex === i || !linear" [optional]="step.optional">
diff --git a/src/lib/stepper/stepper-vertical.html b/src/lib/stepper/stepper-vertical.html index 29a2f16f16f..41bbefec72e 100644 --- a/src/lib/stepper/stepper-vertical.html +++ b/src/lib/stepper/stepper-vertical.html @@ -10,7 +10,7 @@ [icon]="_getIndicatorType(i)" [label]="step.stepLabel || step.label" [selected]="selectedIndex === i" - [active]="step.completed || selectedIndex === i" + [active]="step.completed || selectedIndex === i || !linear" [optional]="step.optional">