Hi,
i have a custom js to get some file infos from a uploader:
function getFileMetadataAndData() {
const files = fileDrop.value || [];
const fileResults = files.map(file => ({
name: file.name,
type: file.type,
sizeBytes: file.sizeBytes,
base64Data: file.base64Data,
dataURL: `data:${file.type};base64,${file.base64Data}`
}));
const blobResults = files.map(file => new Blob([file.base64Data], { type: file.type }));
return { fileResults};
}
return getFileMetadataAndData();
Now i want to list the names in a list, but how do you filter the names from the "fileResults"
I have now folllowing value:
{{query2.data.fileResults.**XXXX**}}
XXXX should be the names, but how to get it
sorry forgot something:
{{query2.data.fileResults[*].name}}
Is not working since a List Item expects me to get a string, how i can make the list item dynamic