@sebgroup/green-angular 5.11.0 → 5.11.2

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.
@@ -681,10 +681,10 @@ class NggDatepickerComponent {
681
681
  this.onTouchedFn = fn;
682
682
  }
683
683
  onDateChange(evt) {
684
- const e = evt;
685
- this.value = e.detail.value;
686
- this.valueChange.emit(e.detail.value);
687
- this.onChangeFn && this.onChangeFn(e.detail.value);
684
+ const target = evt.target;
685
+ this.value = target.value;
686
+ this.valueChange.emit(target.value);
687
+ this.onChangeFn && this.onChangeFn(target.value);
688
688
  }
689
689
  ngAfterViewInit() {
690
690
  this._cdr.detectChanges();