cmqueries fixed
This commit is contained in:
parent
f306a10301
commit
918780fad8
16077
ng6-seed/package-lock.json
generated
16077
ng6-seed/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -57,7 +57,7 @@ export class FormComponent implements OnInit {
|
||||
this.parent_pdid = this.pd_all_details.pdmaster_details.parent_pd_id;
|
||||
this.pdid = this.pd_all_details.pdmaster_details.pd_id;
|
||||
this.notifier = notifier;
|
||||
this.quesService.formanswers=null;
|
||||
// this.quesService.formanswers=null;
|
||||
this.main_applicant = this.pd_all_details.pdmaster_details.main_applicant;
|
||||
this.lender_applicant_id = this.pd_all_details.pdmaster_details.lender_applicant_id;
|
||||
this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
|
||||
@ -261,8 +261,12 @@ else
|
||||
// formValues.cm_queries.splice(index, 1);
|
||||
// }
|
||||
// }
|
||||
|
||||
this.quesService.formanswers= formValues
|
||||
// });
|
||||
if(formValues.cm_queries instanceof Array){
|
||||
|
||||
|
||||
|
||||
console.log(formValues.cm_queries)
|
||||
// var formula_index:any = tableCrtlName.indexOf(element);
|
||||
console.log(formValues)
|
||||
@ -279,13 +283,14 @@ else
|
||||
if(this.queries_value[i].is_insert_json == null){
|
||||
formValues.cm_queries.push({question:this.queries_value[i].add_requirement, answer: '',parent_id:this.queries_value[i].add_req_id})
|
||||
}
|
||||
|
||||
this.quesService.formanswers= formValues
|
||||
|
||||
} //<<<---using ()=> syntax
|
||||
this.quesService.formanswers= formValues
|
||||
|
||||
}, 1000);
|
||||
|
||||
|
||||
}
|
||||
|
||||
this.loaderService.showMatSpinnerDialog("")
|
||||
// setTimeout(()=>{
|
||||
// this.quesService.formanswers = null
|
||||
|
||||
Loading…
Reference in New Issue
Block a user