After updating my project to Nativescript 2.3.0 and Angular 2.1.2, data binding using ngModel is no longer working on my Switches. If I bind to [checked] and (propertyChange) it works.
I've duplicated issue this in a new sample project. Is this a change that was made to Nativescript or Angular or could it be something else?
I was using:
<Switch (ngModelChange)="onChange($event)" [ngModel]="model.switchValue"></Switch>
onChange() is no longer firing when the Switch is toggled.
This seems to work:
<Switch (propertyChange)="onChange($event)" [checked]="model.switchValue"></Switch>
I've also noticed some other issues since the update but may address them in another question.