@3kles/kles-material-dynamicforms 1.1.9 → 1.1.10
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/3kles-kles-material-dynamicforms.umd.js +7 -7
- package/bundles/3kles-kles-material-dynamicforms.umd.js.map +1 -1
- package/bundles/3kles-kles-material-dynamicforms.umd.min.js +1 -1
- package/bundles/3kles-kles-material-dynamicforms.umd.min.js.map +1 -1
- package/esm2015/lib/directive/dynamic-field.directive.js +8 -8
- package/esm5/lib/directive/dynamic-field.directive.js +8 -8
- package/fesm2015/3kles-kles-material-dynamicforms.js +7 -7
- package/fesm2015/3kles-kles-material-dynamicforms.js.map +1 -1
- package/fesm5/3kles-kles-material-dynamicforms.js +7 -7
- package/fesm5/3kles-kles-material-dynamicforms.js.map +1 -1
- package/package.json +1 -1
|
@@ -1182,17 +1182,17 @@
|
|
|
1182
1182
|
this.buildComponent();
|
|
1183
1183
|
};
|
|
1184
1184
|
KlesDynamicFieldDirective.prototype.ngOnChanges = function (changes) {
|
|
1185
|
+
console.log('ngOnCHange', changes);
|
|
1185
1186
|
if (changes.group) {
|
|
1186
1187
|
this.group = changes.group.currentValue;
|
|
1187
1188
|
}
|
|
1188
1189
|
if (changes.field) {
|
|
1189
|
-
if (changes.field.previousValue && changes.field.currentValue.component !== changes.field.previousValue.component) {
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
}
|
|
1190
|
+
// if (changes.field.previousValue && changes.field.currentValue.component !== changes.field.previousValue.component) {
|
|
1191
|
+
this.field = changes.field.currentValue;
|
|
1192
|
+
this.buildComponent();
|
|
1193
|
+
// } else {
|
|
1194
|
+
// this.field = changes.field.currentValue;
|
|
1195
|
+
// }
|
|
1196
1196
|
}
|
|
1197
1197
|
};
|
|
1198
1198
|
KlesDynamicFieldDirective.prototype.buildComponent = function () {
|