79222151

Date: 2024-11-25 08:16:27
Score: 3.5
Natty:
Report link

You should use the at() to get the array inside the group.

this.items.at(index)?.get('state')?.value

Fix below: https://stackblitz.com/edit/stackblitz-starters-teeuxb?file=src%2Fapp%2Fapp.component.ts&file=src%2Fapp%2Fapp.component.html

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stefani Toto