@sumaris-net/ngx-components 1.19.20 → 1.19.21-rc1

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.
@@ -6276,7 +6276,9 @@
6276
6276
  if (incompleteValue || this.dayControl.invalid || this.hourControl.invalid) {
6277
6277
  this.formControl.markAsPending({ onlySelf: true });
6278
6278
  this.formControl.setErrors(Object.assign(Object.assign(Object.assign({ validDate: incompleteValue }, this.formControl.errors), this.dayControl.errors), this.hourControl.errors));
6279
- this.formControl.markAsDirty();
6279
+ if (this.dayControl.dirty || this.hourControl.dirty) {
6280
+ this.formControl.markAsDirty();
6281
+ }
6280
6282
  this._writing = false;
6281
6283
  return;
6282
6284
  }