Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
235 B
HTML
Raw Permalink Normal View History

<select
[attr.id]="id()"
[attr.name]="name()"
[ngModel]="selectedOption()"
(ngModelChange)="setOption($event)"
>
@for (item of options(); track item) {
<option [value]="item.value">{{ item.label }}</option>
}
</select>