Template variables are read-only code example
Example: Template variables are read-only.
//Replace the code kinda
*ngFor="let movement of allowedMovements" [(value)]="movement"
//to
*ngFor="let movement of allowedMovements; let i = index" [(value)]="allowedMovements[i]"