tuain-ng-forms-lib 12.0.88 → 12.0.91

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.
@@ -711,6 +711,7 @@
711
711
  this.start();
712
712
  };
713
713
  LibTableComponent.prototype.start = function () { };
714
+ LibTableComponent.prototype.updateTableData = function () { };
714
715
  LibTableComponent.prototype.tableGlobalAction = function (actionCode) { this.table.notifyGlobalAction(actionCode); };
715
716
  LibTableComponent.prototype.tableSelectionAction = function (actionCode) { this.table.notifySelectionAction(actionCode); };
716
717
  LibTableComponent.prototype.tableActionSelected = function (actionEvent) { this.table.notifyInlineAction(actionEvent); };
@@ -725,6 +726,9 @@
725
726
  LibTableComponent.prototype.globalFilterChanged = function () { var _a, _b; this.table.setGlobalFilterString((_b = (_a = this.globalFilterString) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : ''); };
726
727
  LibTableComponent.prototype.syncAttribute = function (name, value) {
727
728
  try {
729
+ if (name === 'visibleRecords') {
730
+ this.updateTableData();
731
+ }
728
732
  this[name] = value;
729
733
  return true;
730
734
  }
@@ -1271,7 +1275,10 @@
1271
1275
  FieldDescriptor.prototype.setValue = function (newValue, widgetUpdate) {
1272
1276
  if (widgetUpdate === void 0) { widgetUpdate = true; }
1273
1277
  var _a;
1274
- if (typeof newValue === UNDEFINED || newValue === null) {
1278
+ if (typeof newValue === UNDEFINED) {
1279
+ return true;
1280
+ }
1281
+ if (newValue === null && this.required) {
1275
1282
  return true;
1276
1283
  }
1277
1284
  var newFinalValue;