created a stepper steps with data values with below
Component Level
environment = [DEV,TEST,UAT,PROD]
HTML
<mat-horizontal-stepper>
<div *ngFor ="let env of environment ; let i =index")
<mat-step [StepControl]= 'diformGroup'>
<form #form="ngForm" [formGroup]="pipe">
<input matInput >
</form>
</mat-step>
</mat-horizontal-stepper>
as expected the steps as are coming as DEV- TEST- UAT - PROD , but the issue is all the steps having same form data .i wanted to publish each step with separate form group data. can any one help how to achieve this
if add another step it increase the step level.