@bnsights/bbsf-controls 1.2.18 → 1.2.20
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/README.md
CHANGED
|
@@ -394,6 +394,18 @@ If the issue persists, consider using a different HTML editor component that's c
|
|
|
394
394
|
|
|
395
395
|
## Change Log
|
|
396
396
|
|
|
397
|
+
## 1.2.20 / 15-04-2026
|
|
398
|
+
|
|
399
|
+
=====================
|
|
400
|
+
|
|
401
|
+
- Fix previous version
|
|
402
|
+
|
|
403
|
+
## 1.2.19 / 15-04-2026 []
|
|
404
|
+
|
|
405
|
+
=====================
|
|
406
|
+
|
|
407
|
+
- Fix `BBSF-FileUpload` `(onFileUpload)` if max length exceeded keep the max number of files and ignore others
|
|
408
|
+
|
|
397
409
|
## 1.2.18 / 09-04-2026
|
|
398
410
|
|
|
399
411
|
=====================
|
|
Binary file
|
|
@@ -7529,7 +7529,9 @@ class FileUploadComponent {
|
|
|
7529
7529
|
};
|
|
7530
7530
|
formControl.setErrors(newErrors);
|
|
7531
7531
|
formControl.markAsTouched();
|
|
7532
|
-
this.
|
|
7532
|
+
const max = this.options.maxNoOfFiles;
|
|
7533
|
+
//keep existing valid files, remove only extra ones
|
|
7534
|
+
this.uploader.queue = this.uploader.queue.slice(0, max);
|
|
7533
7535
|
return;
|
|
7534
7536
|
}
|
|
7535
7537
|
if (this.options.isMultipleFile && this.options.maxSizeForAllFilesInMB != null && this.options.maxSizeForAllFilesInMB > 0) {
|