@wavemaker/app-runtime-wm-build 11.4.2-next.25744 → 11.4.2-next.25746

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-runtime-wm-build",
3
- "version": "11.4.2-next.25744",
3
+ "version": "11.4.2-next.25746",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28202,8 +28202,11 @@
28202
28202
  return core$1.getFormattedDate(this.datePipe, this.bsDataValue, this.outputformat, this.timeZone, null, this.isCurrentDate, this) || "";
28203
28203
  },
28204
28204
  set: function(newVal) {
28205
+ var _this = this;
28205
28206
  if (newVal === CURRENT_DATE$1) {
28206
- this.bsDataValue = this.timeZone ? core$1.getMomentLocaleObject(this.timeZone) : new Date;
28207
+ setTimeout((function() {
28208
+ _this.bsDataValue = _this.timeZone ? core$1.getMomentLocaleObject(_this.timeZone) : new Date;
28209
+ }), 50);
28207
28210
  this.isCurrentDate = true;
28208
28211
  } else {
28209
28212
  this.bsDataValue = newVal ? core$1.getDateObj(newVal, {
@@ -51187,6 +51190,9 @@
51187
51190
  }));
51188
51191
  } else {
51189
51192
  var element = self.$element.find('[wmformfield][key="' + fieldName + '"]');
51193
+ if (!element.length) {
51194
+ element = self.$element.find('[wmformfield][name="' + fieldName + '"]');
51195
+ }
51190
51196
  if (element.length) {
51191
51197
  element[0].setAttribute("__errormsg", element[0].getAttribute("__validationId"));
51192
51198
  (_a = element[0].querySelector("input")) === null || _a === void 0 ? void 0 : _a.setAttribute("aria-invalid", ngForm.invalid);