Ionic 4:选中 Ion 复选框,未从 ionchange 更新

问题描述 投票:0回答:1
angular ionic-framework checkbox ionic4 2-way-object-databinding
1个回答
0
投票

尝试这样做:-

<ion-checkbox  value="{{employee.id}}" [(ngModel)]="employee.isChecked" (ionChange)="emplsChange($event.checked, i)"> 
© www.soinside.com 2019 - 2024. All rights reserved.