@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.
- package/bundles/sumaris-net.ngx-components.umd.js +3 -1
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +4 -2
- package/fesm2015/sumaris-net.ngx-components.js +3 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
6279
|
+
if (this.dayControl.dirty || this.hourControl.dirty) {
|
|
6280
|
+
this.formControl.markAsDirty();
|
|
6281
|
+
}
|
|
6280
6282
|
this._writing = false;
|
|
6281
6283
|
return;
|
|
6282
6284
|
}
|