@wavemaker/app-ng-runtime 11.5.0-next.24730 → 11.5.0-next.24732

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.
@@ -1710,8 +1710,6 @@ class DateComponent extends BaseDateTimeComponent {
1710
1710
  * This is an internal method triggered when the date input changes
1711
1711
  */
1712
1712
  onDisplayDateChange($event, isNativePicker = false) {
1713
- this.datepattern = this.appDefaults.dateFormat || getDisplayDateTimeFormat(FormWidgetType.DATE);
1714
- this.updateFormat('datepattern');
1715
1713
  if (this.isEnterPressedOnDateInput) {
1716
1714
  this.isEnterPressedOnDateInput = false;
1717
1715
  return;
@@ -1793,7 +1791,7 @@ class DateComponent extends BaseDateTimeComponent {
1793
1791
  */
1794
1792
  toggleDpDropdown($event, skipFocus = false) {
1795
1793
  if (this.loadNativeDateInput) {
1796
- //Fixes click event getting triggred twice in Mobile devices.
1794
+ // Fixes click event getting triggred twice in Mobile devices.
1797
1795
  if (!skipFocus) {
1798
1796
  this.onDateTimeInputFocus();
1799
1797
  }
@@ -1825,8 +1823,6 @@ class DateComponent extends BaseDateTimeComponent {
1825
1823
  * This is an internal method triggered when pressing key on the date input
1826
1824
  */
1827
1825
  onDisplayKeydown(event) {
1828
- this.datepattern = this.appDefaults.dateFormat || getDisplayDateTimeFormat(FormWidgetType.DATE);
1829
- this.updateFormat('datepattern');
1830
1826
  if (this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
1831
1827
  event.stopPropagation();
1832
1828
  if (event.key === 'Enter') {
@@ -1863,8 +1859,6 @@ class DateComponent extends BaseDateTimeComponent {
1863
1859
  * This is an internal method triggered when the date selection changes
1864
1860
  */
1865
1861
  onDateChange(newVal) {
1866
- this.datepattern = this.appDefaults.dateFormat || getDisplayDateTimeFormat(FormWidgetType.DATE);
1867
- this.updateFormat('datepattern');
1868
1862
  /**
1869
1863
  * Ngx-bootstrap upgrade : To avoid the page load datechange event;
1870
1864
  * TODO: