tuain-ng-forms-lib 12.0.88 → 12.0.89
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.
|
@@ -1271,7 +1271,10 @@
|
|
|
1271
1271
|
FieldDescriptor.prototype.setValue = function (newValue, widgetUpdate) {
|
|
1272
1272
|
if (widgetUpdate === void 0) { widgetUpdate = true; }
|
|
1273
1273
|
var _a;
|
|
1274
|
-
if (typeof newValue === UNDEFINED
|
|
1274
|
+
if (typeof newValue === UNDEFINED) {
|
|
1275
|
+
return true;
|
|
1276
|
+
}
|
|
1277
|
+
if (newValue === null && this.required) {
|
|
1275
1278
|
return true;
|
|
1276
1279
|
}
|
|
1277
1280
|
var newFinalValue;
|