@c8y/ngx-components 1017.0.427 → 1017.0.429
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.
|
@@ -19628,6 +19628,7 @@ class DropAreaComponent {
|
|
|
19628
19628
|
this.clearErrors();
|
|
19629
19629
|
this.dropped.emit(null);
|
|
19630
19630
|
this.onChange(null);
|
|
19631
|
+
this.onTouched();
|
|
19631
19632
|
this.cd.markForCheck();
|
|
19632
19633
|
}
|
|
19633
19634
|
writeValue(value) {
|
|
@@ -19647,6 +19648,7 @@ class DropAreaComponent {
|
|
|
19647
19648
|
this.onTouched = fn;
|
|
19648
19649
|
}
|
|
19649
19650
|
async onFilesSelected(files) {
|
|
19651
|
+
this.onTouched();
|
|
19650
19652
|
const hasValidNameLength = this.filesService.checkMaxLength(files);
|
|
19651
19653
|
if (!hasValidNameLength) {
|
|
19652
19654
|
this.onFileInvalidNameLength();
|