@dsivd/prestations-ng 16.0.0-beta1 → 16.0.0-beta2

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.
@@ -7471,9 +7471,11 @@ class FoehnDatePickerComponent {
7471
7471
  return date.isSame(this.selectedDate);
7472
7472
  }
7473
7473
  handleUserInput(date) {
7474
- const dateAsArray = this.getDateAsArray(date);
7475
- this.userInput.next(dateAsArray);
7476
- this.updateNgModel(dateAsArray);
7474
+ if (this.isDateInRange(date)) {
7475
+ const dateAsArray = this.getDateAsArray(date);
7476
+ this.userInput.next(dateAsArray);
7477
+ this.updateNgModel(dateAsArray);
7478
+ }
7477
7479
  }
7478
7480
  previousMonth() {
7479
7481
  this.weeks = this.datePickerHelper.getPreviousWeeksOfMonth();