@3kles/kles-material-dynamicforms 19.4.0 → 19.4.1

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.
@@ -314,10 +314,10 @@ class KlesDynamicFieldDirective {
314
314
  this.buildComponent();
315
315
  }
316
316
  ngOnChanges(changes) {
317
- if (!changes.group?.isFirstChange()) {
317
+ if (changes.group && !changes.group.isFirstChange()) {
318
318
  this.group = changes.group.currentValue;
319
319
  }
320
- if (!changes.field?.isFirstChange()) {
320
+ if (changes.field && !changes.field?.isFirstChange()) {
321
321
  this.field = changes.field.currentValue;
322
322
  this.buildComponent();
323
323
  }