i have form array which input from user and then i want to read every single element from the form array and insert it into database using the web service but i''m unable to create a method for reading the element singularly . my form array code is as following :-
createskillForm()
{
this.skillForm=this.formBuilder.group({
skills:this.formBuilder.array([this.createskillFeild()])
});
}
and the create skill feild method is as follows :-
createskillFeild():FormGroup
{
return this.formBuilder.group({
skills:['',Validators.required]
});
}
please help me out as i'm unable to figure the method out?
reading the element singularily? And what specifically does that mean, if I understand you correctly, you mean iterating the formarray?