ets-fe-ng-sdk 19.0.52 → 19.0.54

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.
@@ -7146,7 +7146,7 @@ class AutocompleteComponent extends InputBasicComponent {
7146
7146
  // debugger;
7147
7147
  if (!val)
7148
7148
  return null;
7149
- if (!this.options())
7149
+ if (!this.options() || this.options().length === 0)
7150
7150
  return null;
7151
7151
  // debugger
7152
7152
  if (this.skipDoesOptionExistCheck() || this.doesOptionExist(val))
@@ -16027,9 +16027,10 @@ class TablePlainComponent extends TableBaseComponent {
16027
16027
  this.data.set(v);
16028
16028
  }
16029
16029
  set _filterFields(v) {
16030
- this.uS.addFormSchemaToForm(v, this.filterForm);
16031
- this.filterFields.set(v);
16032
- for (const scheme of v)
16030
+ const _v = v || [];
16031
+ this.uS.addFormSchemaToForm(_v, this.filterForm);
16032
+ this.filterFields.set(_v);
16033
+ for (const scheme of _v)
16033
16034
  scheme.optionsInitFunc?.subscribe((r) => (this.cellOptions[scheme.field?.toString()] = r));
16034
16035
  this.refreshUI();
16035
16036
  }