We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3304aa commit 4f7915cCopy full SHA for 4f7915c
packages/angular/src/lib/components/country-selector.ts
@@ -38,7 +38,7 @@ import { injectCountries, injectDefaultCountry } from "../provider";
38
[ngModel]="selected().code"
39
(ngModelChange)="handleCountryChange($event)"
40
>
41
- @for (country of countries(); track country.code) {
+ @for (country of countries(); track $index;) {
42
<option [value]="country.code">{{ country.dialCode }} ({{ country.name }})</option>
43
}
44
</select>
0 commit comments