I have form array like skills = new FormArray([]);
and it contains values of multiple inputs, if I debug controls level of skills
I will be having such data:
console.log(this.skills.controls);
What I'm looking for is to get those values as array and send them by my other function to back-end.
PS: my problem is not sending data to back-end but to
get my array values as array
.
Any idea?
Refer to the documentation for FormArray .
What you actually are looking for is the value
property of the FormArray
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.