@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.
- package/bundles/magic-xpa-angular.umd.js +15 -6
- package/bundles/magic-xpa-angular.umd.js.map +1 -1
- package/bundles/magic-xpa-angular.umd.min.js +1 -1
- package/bundles/magic-xpa-angular.umd.min.js.map +1 -1
- package/esm2015/src/services/accessor.magic.service.js +4 -2
- package/esm2015/src/services/subform.magic.service.js +13 -6
- package/fesm2015/magic-xpa-angular.js +15 -6
- package/fesm2015/magic-xpa-angular.js.map +1 -1
- package/package.json +3 -3
|
@@ -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
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
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
|
};
|