Custom preview for FileUpload
I'm doing a preview for FileUpload using ViewField. What's the best way I can get data from the FileUpload field? It can return an array with either a key where string or TemporaryFileUpload
4 Replies
So what’s the actual issue?
If you want preview for the TemporaryUploadFile you need to differentiate between those 2.
Do you mean you need to make a condition on InstanceOf?
Probably