Skip to content Skip to sidebar Skip to footer

Typeerror: This.receivedsummons.map Is Not A Function Angular

I am trying to binding dynamic checkboxes on FormArray, when I reproduce on stackblitz its work, but show me error on my IDE, and I am using Array.prototype.map not the rxjs map a

Solution 1:

From the JSON you posted, looks like this.receivedSummons is not an array, .map works over an array, change your code as

this.receivedSummons.data.items.map(checkbox =

Post a Comment for "Typeerror: This.receivedsummons.map Is Not A Function Angular"