address form details get changes : kdk

This commit is contained in:
dineshkumarkannan 2018-11-08 21:40:08 +05:30
parent de67d1b911
commit 323f87c7db
4 changed files with 9 additions and 9 deletions

View File

@ -61,7 +61,7 @@
<p> <p>
</mat-card-header> </mat-card-header>
<div formArrayName="neighbourhood"> <div formArrayName="neighbourhood">
<div *ngFor="let item of addressForm.get('neighbourhood').controls; let i=index"> <div *ngFor="let item of addressForm.controls.neighbourhood['controls']; let i=index">
<mat-card-content class="matcard" [formGroup]="item"> <mat-card-content class="matcard" [formGroup]="item">
<mat-form-field> <mat-form-field>
<input matInput placeholder="Neighbour name" <input matInput placeholder="Neighbour name"

View File

@ -1,7 +1,7 @@
<form [formGroup]="bankingForm" class="bankForm"> <form [formGroup]="bankingForm" class="bankForm">
<div formArrayName="itemRows"> <div formArrayName="itemRows">
<mat-accordion <mat-accordion
*ngFor="let itemrow of bankingForm.controls.itemRows.controls; let i=index" *ngFor="let itemrow of bankingForm.controls.itemRows['controls']; let i=index"
[formGroupName]="i"> [formGroupName]="i">
<mat-expansion-panel class="banlFields" [expanded]="step == i"> <mat-expansion-panel class="banlFields" [expanded]="step == i">
<mat-expansion-panel-header> <mat-expansion-panel-header>

View File

@ -17,9 +17,9 @@
<mat-card-header> <mat-card-header>
<p>Earning Members <p>Earning Members
<p> <p>
</mat-card-header> </mat-card-header>
<div formArrayName="earningMembers"> <div formArrayName="earningMembers">
<div *ngFor="let item of familyForm.get('earningMembers').controls; let i=index" <div *ngFor="let item of familyForm.controls.earningMembers['controls']; let i=index"
[formGroupName]="i"> [formGroupName]="i">
<mat-card-content class="matcard"> <mat-card-content class="matcard">
<mat-form-field> <mat-form-field>
@ -64,7 +64,7 @@
<p> <p>
</mat-card-header> </mat-card-header>
<div formArrayName="nonEarningMembers"> <div formArrayName="nonEarningMembers">
<div *ngFor="let members of familyForm.get('nonEarningMembers').controls; let i=index" <div *ngFor="let members of familyForm.controls.nonEarningMembers['controls']; let i=index"
[formGroupName]="i"> [formGroupName]="i">
<mat-card-content class="matcard"> <mat-card-content class="matcard">
<mat-form-field> <mat-form-field>

View File

@ -1,4 +1,4 @@
<form [formGroup]="loanDetailsForm" class="address"> <!--<form [formGroup]="loanDetailsForm" class="address">
<mat-form-field> <mat-form-field>
<input matInput placeholder="Loan Amount applied" formControlName="loan_amount"> <input matInput placeholder="Loan Amount applied" formControlName="loan_amount">
</mat-form-field> </mat-form-field>
@ -14,7 +14,7 @@
<p>Loan Details<p> <p>Loan Details<p>
</mat-card-header> </mat-card-header>
<div formArrayName="income_details"> <div formArrayName="income_details">
<div *ngFor="let details of otherIncomeForm.get('income_details').controls; let i=index" <div *ngFor="let details of otherIncomeForm.controls.income_details['controls']; let i=index"
[formGroupName]="i"> [formGroupName]="i">
<mat-card-content class="matcard"> <mat-card-content class="matcard">
<mat-form-field> <mat-form-field>
@ -45,4 +45,4 @@
</div> </div>
</mat-card> </mat-card>
<button type="submit" (click)="submitCurrentDetails()"></button> <button type="submit" (click)="submitCurrentDetails()"></button>
</form> </form>-->