angular2 select ngFor用法記錄

<select class="form-control" [(ngModel)]="itemSelect">
    <option *ngFor="let i of timeDate" value="{{ i.id }}">{{ i.time}}</option>
</select>
相關文章
相關標籤/搜索