@wavemaker/app-runtime-wm-build 11.4.3-next.25779 → 11.4.3-next.25781

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.
@@ -2719,7 +2719,7 @@
2719
2719
  config = {};
2720
2720
  }
2721
2721
  if (expr.indexOf("[$i]") !== -1) {
2722
- var watchInfo = getUpdatedWatcInfo(expr, config && config.arrayType, listener);
2722
+ var watchInfo = getUpdatedWatcInfo(expr, config && (config.arrayType || config.isList), listener);
2723
2723
  expr = watchInfo.expr;
2724
2724
  listener = watchInfo.listener;
2725
2725
  }
@@ -28251,8 +28251,6 @@
28251
28251
  if (isNativePicker === void 0) {
28252
28252
  isNativePicker = false;
28253
28253
  }
28254
- this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
28255
- this.updateFormat("datepattern");
28256
28254
  if (this.isEnterPressedOnDateInput) {
28257
28255
  this.isEnterPressedOnDateInput = false;
28258
28256
  return;
@@ -28358,8 +28356,6 @@
28358
28356
  }), 350);
28359
28357
  };
28360
28358
  DateComponent.prototype.onDisplayKeydown = function(event) {
28361
- this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
28362
- this.updateFormat("datepattern");
28363
28359
  if (this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
28364
28360
  event.stopPropagation();
28365
28361
  var action = this.keyEventPlugin.constructor.getEventFullKey(event);
@@ -28392,8 +28388,6 @@
28392
28388
  }
28393
28389
  };
28394
28390
  DateComponent.prototype.onDateChange = function(newVal) {
28395
- this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
28396
- this.updateFormat("datepattern");
28397
28391
  if (this._bsDefaultLoadCheck) {
28398
28392
  this._bsDefaultLoadCheck = false;
28399
28393
  return;
@@ -73241,9 +73235,9 @@
73241
73235
  var v = _.isArray(d.value) ? d.value[0] : d.value;
73242
73236
  if (v) {
73243
73237
  if (v.startsWith && v.startsWith("bind:")) {
73244
- v = core.$watch(v.replace("bind:", ""), scope, {}, variable.invokeOnParamChange.bind(variable, d), undefined, undefined, undefined, (function() {
73238
+ v = scope.registerDestroyListener(core.$watch(v.replace("bind:", ""), scope, {}, variable.invokeOnParamChange.bind(variable, d), undefined, undefined, d, (function() {
73245
73239
  return variable.isMuted;
73246
- }));
73240
+ })));
73247
73241
  } else if (!_.isUndefined(d.value)) {
73248
73242
  variables.setValueToNode(d.target, d, root, variable, d.value, true);
73249
73243
  if (runMode && root !== targetNodeKey) {