@sumaris-net/ngx-components 2.4.96 → 2.4.97

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.
@@ -6622,9 +6622,8 @@ class MatDateTime {
6622
6622
  return; // Skip
6623
6623
  this._controlName = controlName;
6624
6624
  const control = this.formGroupDir?.form?.get(controlName);
6625
- if (!control)
6626
- throw new Error(`No form control named \'${controlName}\'!`);
6627
- this._setFormControl(control);
6625
+ if (control)
6626
+ this._setFormControl(control);
6628
6627
  }
6629
6628
  _setFormControl(control) {
6630
6629
  if (!control)