Fairoj : SMC loader feedback issue resolved
This commit is contained in:
parent
7615c4df4f
commit
4fd9d66581
@ -490,7 +490,7 @@ export class DynamicQuestionTemplateComponent implements OnInit {
|
||||
let inserted_control_obj=form_control_obj
|
||||
// inserted_control_obj.questions.sort()
|
||||
// inserted_control_obj.questions.reverse()
|
||||
console.log("check ddddddddddd",inserted_control_obj.questions.reverse(),inserted_control_obj.questions)
|
||||
console.log("check ddddddddddd",inserted_control_obj.questions)
|
||||
inserted_control_obj.questions.forEach((val,index)=>{
|
||||
if(val.hasOwnProperty('is_repeatable') && val.is_repeatable == '1') {
|
||||
if(options == 1) {
|
||||
@ -506,7 +506,7 @@ export class DynamicQuestionTemplateComponent implements OnInit {
|
||||
this.whole_json.splice(question_index_after+1,0,val);
|
||||
val.question.forEach(group_val=>{
|
||||
control_names[group_val.question_key] = ''
|
||||
console.log("check ffffff",inserted_control_obj.questions.reverse(),inserted_control_obj.questions,group_val)
|
||||
// console.log("check ffffff",inserted_control_obj.questions.reverse(),inserted_control_obj.questions,group_val)
|
||||
this.addOrRemoveControl(group_val,ques_control,question_index_after,options,val)
|
||||
})
|
||||
const question_temp:any = JSON.parse(JSON.stringify(val.question));
|
||||
@ -522,7 +522,7 @@ export class DynamicQuestionTemplateComponent implements OnInit {
|
||||
// let childControl: any = this.formGroupN.get(val.group_key) as FormArray
|
||||
val.question.forEach(group_val=>{
|
||||
// control_names[group_val.question_key] = ''
|
||||
console.log("check ffffff",inserted_control_obj.questions.reverse(),inserted_control_obj.questions,group_val)
|
||||
// console.log("check ffffff",inserted_control_obj.questions.reverse(),inserted_control_obj.questions,group_val)
|
||||
this.addOrRemoveControl(group_val,ques_control,question_index_after,options,val)
|
||||
})
|
||||
}
|
||||
|
||||
@ -20,6 +20,7 @@ export class LoaderService {
|
||||
this.loaderSubject.next(<LoaderState>{ show: false });
|
||||
}
|
||||
showMatSpinnerDialog(message ?:String) {
|
||||
this.closeMatSpinnerDialog();
|
||||
this.spinnerdialogRef = this.dialog.open(ProgressSpineerDialogComponent, {
|
||||
data:message,
|
||||
panelClass: 'transparent',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user