@8bhsolutions wrote:
ion-toggle always shows false state on page load, then will toggle to the ngModel databinding value.
Where as if it checked property is bound, and the status is shown correctly on load.HTML
Toggle slide after load no bindingTypescript
public ngModelState: boolean; public checkedState: boolean; constructor(public navCtrl: NavController) { this.ngModelState = true; this.checkedState = true; }
How do I get the 2-way data binding to load the view correctly?
Posts: 1
Participants: 1