Check out example codes for "Template variables are read-only.". It will help you in understanding the concepts better.

Code Example 1

//Replace the code kinda

*ngFor="let movement of allowedMovements" [(value)]="movement" 

//to

*ngFor="let movement of allowedMovements; let i = index" [(value)]="allowedMovements[i]"

Learn ReactJs, React Native from akashmittal.com