@energycap/components 0.41.1-ECAP-26841-date-input-features.20250106-0847 → 0.41.1-ECAP-26841-date-input-features.20250108-1012

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.
@@ -5002,7 +5002,7 @@ class DateInputComponent extends FormControlBase {
5002
5002
  this.parseFormats = DateTimeHelper.getMomentParseFormats();
5003
5003
  }
5004
5004
  ngOnChanges(changes) {
5005
- if (changes.selectionMode) {
5005
+ if (changes.selectionMode && !changes.selectionMode.isFirstChange()) {
5006
5006
  this.onSelectionModeChange(this.selectionMode);
5007
5007
  }
5008
5008
  }
@@ -5096,6 +5096,7 @@ class DateInputComponent extends FormControlBase {
5096
5096
  this.textboxGroup.patchValue(displayValue, { emitEvent: false });
5097
5097
  this.formModel.patchValue(newSelection, { emitEvent: false });
5098
5098
  this.calendarSelection = newSelection;
5099
+ this.updateSteppers(newSelection);
5099
5100
  // Close the calendar if the selection mode is not a range mode where either the start or the end date can be changed.
5100
5101
  if (!this.selectionStrategy.showSecondaryTextbox) {
5101
5102
  this.isCalendarOpen = false;