jsl-ui 9.20.2 → 9.20.4

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.
@@ -161,8 +161,8 @@ var TabsComponent = /** @class */ (function () {
161
161
  this.renderer = renderer;
162
162
  };
163
163
  TabsComponent.prototype.SetSelectedTab = function (index) {
164
- // console.log("setActiveTab: " + index);
165
- if (this.options.tabs[index].content == null && this.options.tabs[index].onCreate) {
164
+ var _a;
165
+ if (((_a = this.options.tabs[index]) === null || _a === void 0 ? void 0 : _a.onCreate) != null && this.options.tabs[index].content == null) {
166
166
  this.options.tabs[index].content = this.options.tabs[index].onCreate();
167
167
  }
168
168
  this.options.selectedIndex = index;
@@ -148,6 +148,9 @@ export function NumericEditor(args) {
148
148
  // }
149
149
  this.loadValue = function (item) {
150
150
  defaultValue = item[args.column.field];
151
+ if (defaultValue === null) {
152
+ defaultValue = undefined;
153
+ }
151
154
  var val_as_str = numeric.format(defaultValue, args.column.format);
152
155
  input.value = val_as_str;
153
156
  input.select();