@3kles/kles-material-dynamicforms 1.1.1 → 1.1.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.
@@ -323,7 +323,11 @@
323
323
  return subGroup_1;
324
324
  }
325
325
  else {
326
- var control = this.fb.control(field.value, this.bindValidations(field.validations || []), this.bindAsyncValidations(field.asyncValidations || []));
326
+ var control = this.fb.control(field.value, {
327
+ validators: this.bindValidations(field.validations || []),
328
+ asyncValidators: this.bindAsyncValidations(field.asyncValidations || []),
329
+ updateOn: field.updateOn || 'change'
330
+ });
327
331
  if (field.disabled) {
328
332
  control.disable();
329
333
  }