@3kles/kles-material-dynamicforms 19.3.1 → 19.3.2

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.
@@ -222,10 +222,10 @@ class KlesDynamicFieldDirective {
222
222
  this.buildComponent();
223
223
  }
224
224
  ngOnChanges(changes) {
225
- if (!changes.group?.isFirstChange()) {
225
+ if (changes.group && !changes.group.isFirstChange()) {
226
226
  this.group = changes.group.currentValue;
227
227
  }
228
- if (!changes.field?.isFirstChange()) {
228
+ if (changes.field && !changes.field?.isFirstChange()) {
229
229
  this.field = changes.field.currentValue;
230
230
  this.buildComponent();
231
231
  }