@magic-xpa/angular 4.800.0-dev480.165 → 4.800.0-dev480.166

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.
@@ -2277,14 +2277,21 @@
2277
2277
  .load(lazyLoadModule.modulePath + "#" + lazyLoadModule.moduleName)
2278
2278
  .then(function (moduleFactory) {
2279
2279
  moduleRef_1 = moduleFactory.create(_this.injector);
2280
+ _this.subformsDict[subformControlName] = {
2281
+ formName: formName,
2282
+ parameters: { taskIdParam: taskId, taskDescription: taskDescription }
2283
+ };
2284
+ _this.task.refreshView();
2280
2285
  });
2281
2286
  }
2282
2287
  }
2283
- this.subformsDict[subformControlName] = {
2284
- formName: formName,
2285
- parameters: { taskIdParam: taskId, taskDescription: taskDescription }
2286
- };
2287
- refreshNeeded = true;
2288
+ else {
2289
+ this.subformsDict[subformControlName] = {
2290
+ formName: formName,
2291
+ parameters: { taskIdParam: taskId, taskDescription: taskDescription }
2292
+ };
2293
+ refreshNeeded = true;
2294
+ }
2288
2295
  }
2289
2296
  else {
2290
2297
  if (inDefaultOutlet)
@@ -2627,8 +2634,10 @@
2627
2634
  rowId = '0';
2628
2635
  var items = this.getItemListValues(controlId, rowId);
2629
2636
  var value = this.task.getFormControl(rowId, controlId).value;
2630
- if (value !== null && value !== "")
2637
+ if (value !== null && value !== "" && items instanceof Array) {
2638
+ value = value.toLowerCase();
2631
2639
  return items.filter(function (option) { return option.displayValue.toLowerCase().includes(value); });
2640
+ }
2632
2641
  else
2633
2642
  return items;
2634
2643
  };