Как я могу получить новый выбор в «select» в Angular 2?

Я использую Angular 2 (TypeScript).

Я хочу сделать что-то для нового выбора, но то, что я получил в onChange (), всегда последний выбор. Как я могу получить новый выбор?

<select [(ngModel)]="selectedDevice" (change)="onChange($event)">
    <option *ngFor="#i of devices">{{i}}</option>
</select>

onChange($event) {
    console.log(this.selectedDevice);
    // I want to do something here for new selectedDevice, but what I
    // got here is always last selection, not the one I just select.
}

Ответы на вопрос(9)

Ваш ответ на вопрос