chrv-components 1.10.49 → 1.10.50
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.
|
Binary file
|
|
@@ -2374,7 +2374,7 @@ class ChrFormComponent {
|
|
|
2374
2374
|
if (this.flattenedControls[key].type === 'file' &&
|
|
2375
2375
|
this.flattenedControls[key].base64 === false) {
|
|
2376
2376
|
if (this.flattenedControls[key].multiple === true) {
|
|
2377
|
-
for (const file of this.model[key])
|
|
2377
|
+
for (const file of (this.model[key] ?? []))
|
|
2378
2378
|
data.append(key, file?.file ?? '');
|
|
2379
2379
|
}
|
|
2380
2380
|
else
|