Updated code for fileselect config in pdf
This commit is contained in:
@@ -560,7 +560,7 @@ public class PdfDao {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Process 'fileupload' and 'checkboxes' cases as in the original logic
|
// Process 'fileupload' and 'checkboxes' cases as in the original logic
|
||||||
if (name.equals("fileupload")) {
|
if (name.equals("fileupload") || name.equals("fileselect")) {
|
||||||
if (fieldValue instanceof List<?> && ((List<?>) fieldValue).stream().allMatch(item -> item instanceof DocumentResponseBean)) {
|
if (fieldValue instanceof List<?> && ((List<?>) fieldValue).stream().allMatch(item -> item instanceof DocumentResponseBean)) {
|
||||||
List<DocumentResponseBean> documentList = (List<DocumentResponseBean>) fieldValue;
|
List<DocumentResponseBean> documentList = (List<DocumentResponseBean>) fieldValue;
|
||||||
List<String> names = documentList.stream()
|
List<String> names = documentList.stream()
|
||||||
|
|||||||
Reference in New Issue
Block a user