Angular v17 control flow for loop on select control throwing error with effect

70 views Asked by At

control flow @for on select-option control is throwing ctx is not defined error when looping through an array and bind data to that array in an effect.

Same code worked fine with *ngFor

ERROR ReferenceError: ctx is not defined

loop through an array using @for & bind data to option control to display data in dropdown.

0

There are 0 answers