@open-rlb/ng-bootstrap 2.3.6 → 2.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10330,8 +10330,12 @@ class SwitchComponent extends AbstractComponent {
10330
10330
  }
10331
10331
  onWrite(data) {
10332
10332
  this.data = data;
10333
+ this.updateInternalValue();
10333
10334
  }
10334
10335
  ngAfterViewInit() {
10336
+ this.updateInternalValue();
10337
+ }
10338
+ updateInternalValue() {
10335
10339
  if (this.el && this.el.nativeElement) {
10336
10340
  if (this.data === undefined || this.data === null)
10337
10341
  return;