@energycap/components 0.39.36-ECAP-26840-date-input.20241119-1615 → 0.39.36-ECAP-26840-date-input.20241121-1051
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.
- package/esm2020/lib/controls/date-input/date-input.component.mjs +3 -1
- package/esm2020/lib/core/date-time-helper.mjs +3 -1
- package/fesm2015/energycap-components.mjs +4 -0
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +4 -0
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/package.json +1 -1
@@ -670,6 +670,7 @@ DateTimeHelper.momentMonthFirstParseFormats = [
|
|
670
670
|
'MM-DD',
|
671
671
|
'M-D-YY',
|
672
672
|
'MM-DD-YY',
|
673
|
+
'MMDDYYYY',
|
673
674
|
'YYYYMMDD',
|
674
675
|
'YYYY-MM-DD',
|
675
676
|
'MM-DD-YYYY'
|
@@ -706,6 +707,7 @@ DateTimeHelper.momentDateFirstParseFormats = [
|
|
706
707
|
'DD-MM',
|
707
708
|
'D-M-YY',
|
708
709
|
'DD-MM-YY',
|
710
|
+
'DDMMYYYY',
|
709
711
|
'YYYYMMDD',
|
710
712
|
'YYYY-MM-DD',
|
711
713
|
'DD-MM-YYYY'
|
@@ -4091,6 +4093,8 @@ class DateInputComponent extends FormControlBase {
|
|
4091
4093
|
this.calendarSelection = selection;
|
4092
4094
|
if (isCalendarSelectionSingleDate(selection)) {
|
4093
4095
|
this.formModel.setValue(selection);
|
4096
|
+
this.isCalendarOpen = false;
|
4097
|
+
this.focusInput();
|
4094
4098
|
}
|
4095
4099
|
}
|
4096
4100
|
onTextboxBlur() {
|