Fairoj : general info edit issue and label changes
This commit is contained in:
parent
9d509dfa10
commit
304d3b8cca
@ -158,7 +158,9 @@
|
|||||||
<mat-form-field style="width: 32%">
|
<mat-form-field style="width: 32%">
|
||||||
<mat-select placeholder="State" formControlName="fk_state" (selectionChange)="getCityList($event.value,i)">
|
<mat-select placeholder="State" formControlName="fk_state" (selectionChange)="getCityList($event.value,i)">
|
||||||
<mat-option>
|
<mat-option>
|
||||||
<ngx-mat-select-search formControlName="stateSearch" (keyup)="searchFun(addresses,i,'state')"></ngx-mat-select-search>
|
<ngx-mat-select-search formControlName="stateSearch" (keyup)="searchFun(addresses,i,'state')"
|
||||||
|
[placeholderLabel]="'Search State...'"
|
||||||
|
[noEntriesFoundLabel]="'no matching records found'"></ngx-mat-select-search>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option *ngFor="let SL of stateList" [value]="SL.state_id">
|
<mat-option *ngFor="let SL of stateList" [value]="SL.state_id">
|
||||||
{{SL.name}}
|
{{SL.name}}
|
||||||
@ -171,7 +173,9 @@
|
|||||||
<mat-form-field style="width: 32%">
|
<mat-form-field style="width: 32%">
|
||||||
<mat-select placeholder="City" formControlName="fk_city">
|
<mat-select placeholder="City" formControlName="fk_city">
|
||||||
<mat-option>
|
<mat-option>
|
||||||
<ngx-mat-select-search formControlName="citySearch" (keyup)="searchFun(addresses,i,'city')"></ngx-mat-select-search>
|
<ngx-mat-select-search formControlName="citySearch" (keyup)="searchFun(addresses,i,'city')"
|
||||||
|
[placeholderLabel]="'Search City...'"
|
||||||
|
[noEntriesFoundLabel]="'no matching records found'"></ngx-mat-select-search>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option *ngFor="let CL of cityList[i]" [value]="CL.city_id">
|
<mat-option *ngFor="let CL of cityList[i]" [value]="CL.city_id">
|
||||||
{{CL.city_name}}
|
{{CL.city_name}}
|
||||||
@ -183,7 +187,9 @@
|
|||||||
<mat-form-field style="width: 24%">
|
<mat-form-field style="width: 24%">
|
||||||
<mat-select placeholder="Pincode" formControlName="pincode" (selectionChange)="getPincode($event.value,i)">
|
<mat-select placeholder="Pincode" formControlName="pincode" (selectionChange)="getPincode($event.value,i)">
|
||||||
<mat-option>
|
<mat-option>
|
||||||
<ngx-mat-select-search formControlName="pinSearch" (keyup)="searchFun(addresses,i,'pin')"></ngx-mat-select-search>
|
<ngx-mat-select-search formControlName="pinSearch" (keyup)="searchFun(addresses,i,'pin')"
|
||||||
|
[placeholderLabel]="'Search Pincode...'"
|
||||||
|
[noEntriesFoundLabel]="'no matching records found'"></ngx-mat-select-search>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option *ngFor="let PL of pincodeList[i]" [value]="PL.pincode_id">{{PL.pincode}}</mat-option>
|
<mat-option *ngFor="let PL of pincodeList[i]" [value]="PL.pincode_id">{{PL.pincode}}</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@ -183,7 +183,9 @@
|
|||||||
<mat-select placeholder="State" formControlName="fk_state"
|
<mat-select placeholder="State" formControlName="fk_state"
|
||||||
(selectionChange)="getCityList($event.value,i)">
|
(selectionChange)="getCityList($event.value,i)">
|
||||||
<mat-option>
|
<mat-option>
|
||||||
<ngx-mat-select-search formControlName="stateSearch" (keyup)="searchFun(addresses,i,'state')"></ngx-mat-select-search>
|
<ngx-mat-select-search formControlName="stateSearch" (keyup)="searchFun(addresses,i,'state')"
|
||||||
|
[placeholderLabel]="'Search State...'"
|
||||||
|
[noEntriesFoundLabel]="'no matching records found'"></ngx-mat-select-search>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option *ngFor="let SL of stateList" [value]="SL.state_id">
|
<mat-option *ngFor="let SL of stateList" [value]="SL.state_id">
|
||||||
{{SL.name}}
|
{{SL.name}}
|
||||||
@ -195,7 +197,9 @@
|
|||||||
<mat-form-field style="width: 32%">
|
<mat-form-field style="width: 32%">
|
||||||
<mat-select placeholder="City" formControlName="fk_city">
|
<mat-select placeholder="City" formControlName="fk_city">
|
||||||
<mat-option>
|
<mat-option>
|
||||||
<ngx-mat-select-search formControlName="citySearch" (keyup)="searchFun(addresses,i,'city')"></ngx-mat-select-search>
|
<ngx-mat-select-search formControlName="citySearch" (keyup)="searchFun(addresses,i,'city')"
|
||||||
|
[placeholderLabel]="'Search City...'"
|
||||||
|
[noEntriesFoundLabel]="'no matching records found'"></ngx-mat-select-search>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option *ngFor="let CL of cityList[i]" [value]="CL.city_id">
|
<mat-option *ngFor="let CL of cityList[i]" [value]="CL.city_id">
|
||||||
{{CL.city_name}}
|
{{CL.city_name}}
|
||||||
@ -208,7 +212,9 @@
|
|||||||
<mat-select placeholder="Pincode" formControlName="pincode"
|
<mat-select placeholder="Pincode" formControlName="pincode"
|
||||||
(selectionChange)="getPincode($event.value,i)">
|
(selectionChange)="getPincode($event.value,i)">
|
||||||
<mat-option>
|
<mat-option>
|
||||||
<ngx-mat-select-search formControlName="pinSearch" (keyup)="searchFun(addresses,i,'pin')"></ngx-mat-select-search>
|
<ngx-mat-select-search formControlName="pinSearch" (keyup)="searchFun(addresses,i,'pin')"
|
||||||
|
[placeholderLabel]="'Search Pincode...'"
|
||||||
|
[noEntriesFoundLabel]="'no matching records found'"></ngx-mat-select-search>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option *ngFor="let PL of pincodeList[i]" [value]="PL.pincode_id">{{PL.pincode}}</mat-option>
|
<mat-option *ngFor="let PL of pincodeList[i]" [value]="PL.pincode_id">{{PL.pincode}}</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@ -186,7 +186,9 @@ export class OtherApplicantDetailsComponent implements OnInit {
|
|||||||
if(result['dataStatus']){
|
if(result['dataStatus']){
|
||||||
let result_data=result['records']
|
let result_data=result['records']
|
||||||
let diaglog_param=formData.applicant_list
|
let diaglog_param=formData.applicant_list
|
||||||
|
if(!this.data.edit_data){
|
||||||
diaglog_param[0].pd_co_applicant_id=result_data.pd_co_applicant_id
|
diaglog_param[0].pd_co_applicant_id=result_data.pd_co_applicant_id
|
||||||
|
}
|
||||||
console.log("dialog param",diaglog_param);
|
console.log("dialog param",diaglog_param);
|
||||||
this.dialogRef.close({
|
this.dialogRef.close({
|
||||||
data: diaglog_param
|
data: diaglog_param
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user