latest changes
This commit is contained in:
parent
c5259757ba
commit
1fce773507
@ -24,9 +24,10 @@ export class DynamicFormComponent implements OnInit {
|
||||
constructor(private _fb:FormBuilder,private questionService:QuesFormService) { }
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
console.log('answers');
|
||||
//console.log(this.json_answers[0].stakeholder_length)
|
||||
this.form_group_name=this.questionService.assignFormControl_array(this.form_group_name,this.questions_JSON.questions)
|
||||
|
||||
|
||||
this.generateGroupControls();
|
||||
}
|
||||
|
||||
|
||||
@ -140,10 +140,12 @@ export class FormComponent implements OnInit {
|
||||
|
||||
console.log('getsectionn');
|
||||
console.log(formValues);
|
||||
console.log(formValues.key_stakeholders[0].stakeholder_length);
|
||||
if(formValues.key_stakeholders[0].stakeholder_length=='2')
|
||||
{
|
||||
let controlcount='2';
|
||||
this.quesService.ques_length(controlcount)
|
||||
this.quesService.ques_length(controlcount)
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user