I am utilizing angular-archwizard to create circular steps for navigation. When I click on different steps, I can see the circle step border change color (in my case, orange) until I click on the last step. Once I click on the last step, all the other steps' border colors change to green. Upon inspecting the elements, I noticed that a CSS class is applied as follows:
aw-wizard-navigation-bar.horizontal.large-empty ul.steps-indicator li.done
.step-indicator
The 'li.done' class is applied to every step, giving them the green border color.
I'm curious to know if there is a way to prevent the last 'li.done' class from being applied when I click on the last step. Alternatively, if there is another method to achieve the desired outcome.
<aw-wizard *ngIf="items.length > 0" navBarLayout="large-empty"
style="padding-bottom: 0.5rem" style="width: 100%"
navigationMode="free">
<div *ngFor="let item of items; let i=index">
<aw-wizard-step [stepId]="i" [navigationSymbol]="{ symbol:
'', fontFamily: 'FontAwesome'}"
stepTitle="{{item.statoContattoDescrizione}}"
(stepEnter)="passToStep($event,i)">
</aw-wizard-step> ...
</aw-wizard>