@kms-ngx-ui/presentational 20.1.14 → 20.1.15
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.
|
@@ -2422,6 +2422,7 @@ class FileInputComponent {
|
|
|
2422
2422
|
set value(value) {
|
|
2423
2423
|
this.form.setValue(value);
|
|
2424
2424
|
this.onChange(value);
|
|
2425
|
+
this.onTouch();
|
|
2425
2426
|
this.formDataChanged.emit(this.form);
|
|
2426
2427
|
}
|
|
2427
2428
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -2437,7 +2438,7 @@ class FileInputComponent {
|
|
|
2437
2438
|
}
|
|
2438
2439
|
writeValue(value) {
|
|
2439
2440
|
if (value) {
|
|
2440
|
-
this.value
|
|
2441
|
+
this.form.setValue(value);
|
|
2441
2442
|
}
|
|
2442
2443
|
if (value === null) {
|
|
2443
2444
|
this.form.reset();
|