I encountered the same issue while trying to use @for loop to populate a dropdown in Angular 19.2.0. I'm able to resolve it by adding the track keyword
@for
track