@wavemaker/app-runtime-wm-build 11.4.3-next.25759 → 11.4.3-next.25761
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.
- app-runtime-wm-build/package.json +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-loader.js +17 -5
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +2 -2
- app-runtime-wm-build/wmapp/styles/css/wm-style.css +1 -1
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.js +17 -5
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.min.js +2 -2
- app-runtime-wm-build/wmmobile/styles/css/wm-style.css +1 -1
|
@@ -12533,7 +12533,11 @@
|
|
|
12533
12533
|
};
|
|
12534
12534
|
this.widgetControl.setAsyncValidators([ this._asyncValidatorFn() ]);
|
|
12535
12535
|
if (this.widgetContext.ngform.touched) {
|
|
12536
|
-
|
|
12536
|
+
var opt = {};
|
|
12537
|
+
if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
|
|
12538
|
+
opt["emitEvent"] = false;
|
|
12539
|
+
}
|
|
12540
|
+
this.widgetControl.updateValueAndValidity(opt);
|
|
12537
12541
|
}
|
|
12538
12542
|
};
|
|
12539
12543
|
BaseFieldValidations.prototype.isDefaultValidator = function(type) {
|
|
@@ -12590,8 +12594,12 @@
|
|
|
12590
12594
|
BaseFieldValidations.prototype.validate = function() {
|
|
12591
12595
|
this.applyDefaultValidators();
|
|
12592
12596
|
if (this._asyncValidatorFn) {
|
|
12597
|
+
var opt = {};
|
|
12598
|
+
if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
|
|
12599
|
+
opt["emitEvent"] = false;
|
|
12600
|
+
}
|
|
12593
12601
|
this.widgetControl.setAsyncValidators([ this._asyncValidatorFn() ]);
|
|
12594
|
-
this.widgetControl.updateValueAndValidity();
|
|
12602
|
+
this.widgetControl.updateValueAndValidity(opt);
|
|
12595
12603
|
}
|
|
12596
12604
|
if (this.widgetContext.ngform.touched) {
|
|
12597
12605
|
this.widgetControl.markAsTouched();
|
|
@@ -12610,8 +12618,12 @@
|
|
|
12610
12618
|
};
|
|
12611
12619
|
BaseFieldValidations.prototype.applyDefaultValidators = function() {
|
|
12612
12620
|
var validators = this.getDefaultValidators();
|
|
12621
|
+
var opt = {};
|
|
12622
|
+
if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
|
|
12623
|
+
opt["emitEvent"] = false;
|
|
12624
|
+
}
|
|
12613
12625
|
this.widgetControl.setValidators(_.concat(this._syncValidators || [], validators));
|
|
12614
|
-
this.widgetControl.updateValueAndValidity();
|
|
12626
|
+
this.widgetControl.updateValueAndValidity(opt);
|
|
12615
12627
|
this.setCustomValidationMessage();
|
|
12616
12628
|
};
|
|
12617
12629
|
BaseFieldValidations.prototype.setCustomValidationMessage = function() {
|
|
@@ -28148,7 +28160,7 @@
|
|
|
28148
28160
|
}, base.PROP_BOOLEAN) ], [ "clearbutton", Object.assign({
|
|
28149
28161
|
value: true
|
|
28150
28162
|
}, base.PROP_BOOLEAN) ], [ "adaptiveposition", Object.assign({
|
|
28151
|
-
value:
|
|
28163
|
+
value: true
|
|
28152
28164
|
}, base.PROP_BOOLEAN) ], [ "todaybuttonlabel", Object.assign({
|
|
28153
28165
|
value: "LABEL_TODAY_DATE"
|
|
28154
28166
|
}, base.PROP_STRING) ], [ "clearbuttonlabel", Object.assign({
|
|
@@ -28442,7 +28454,7 @@
|
|
|
28442
28454
|
}, base.PROP_BOOLEAN) ], [ "clearbutton", Object.assign({
|
|
28443
28455
|
value: true
|
|
28444
28456
|
}, base.PROP_BOOLEAN) ], [ "adaptiveposition", Object.assign({
|
|
28445
|
-
value:
|
|
28457
|
+
value: true
|
|
28446
28458
|
}, base.PROP_BOOLEAN) ], [ "todaybuttonlabel", Object.assign({
|
|
28447
28459
|
value: "LABEL_TODAY_DATE"
|
|
28448
28460
|
}, base.PROP_STRING) ], [ "clearbuttonlabel", Object.assign({
|