I am getting tests values from remote server, GroupID values can be duplicated, but I wish my dropdown will show values without duplication, I tried the following code, which is not working
<th>
<select class="form-control" (change)="reloadPosts({ GroupID: u.value })" #u>
<option value="">Select group id...</option>
<template *ngFor="let test of tests"> <option *ngIf="!test" value="{{ test.GroupID }}">
{{ test.GroupID }}
</option></template>
</select>
</th>
how can I do it with angular rc5 and above
thanks