Angular4_Select选择改变事件
匿名 · 更新于 2018/5/25
Angular4_Select选择改变事件
、
个人感觉change没用。
所以用的ngModelChange
<select class="form-control customSelect" [(ngModel)]="packagingType" name="packagingType" (ngModelChange)="packagTypeChange()">
<option *ngFor="let type of packagingTypes" value="{{type.value}}" #packagingtype>
{{type.key}}
</option>
</select>
