cannot assign value to template variable 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]"