@wavemaker/app-ng-runtime 11.4.3-next.25762 → 11.4.3-next.25763

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.
@@ -1738,6 +1738,8 @@
1738
1738
  */
1739
1739
  DateComponent.prototype.onDisplayDateChange = function ($event, isNativePicker) {
1740
1740
  if (isNativePicker === void 0) { isNativePicker = false; }
1741
+ this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
1742
+ this.updateFormat('datepattern');
1741
1743
  if (this.isEnterPressedOnDateInput) {
1742
1744
  this.isEnterPressedOnDateInput = false;
1743
1745
  return;
@@ -1854,6 +1856,8 @@
1854
1856
  * This is an internal method triggered when pressing key on the date input
1855
1857
  */
1856
1858
  DateComponent.prototype.onDisplayKeydown = function (event) {
1859
+ this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
1860
+ this.updateFormat('datepattern');
1857
1861
  if (this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
1858
1862
  event.stopPropagation();
1859
1863
  var action = this.keyEventPlugin.constructor.getEventFullKey(event);