I need to use a function expression in *ngFor like this,
<select>
<option *ngFor="let item of getItems(someValue)">
..........
</option>
</select>
Is there any issue in using a function like getItems(someValue) where I get the items based on the 'someValue'. Is this approach ok or should I use some other way?