You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The displayPreview option in the UploadConfig on a collection doesn't seem to be having any effect.
This is a problem when using large files, as Payload has to download the whole thing (when using S3).
Hi @jensjeflensje - thanks for opening this!
You are right, the displayPreview option is not affecting all the previews correctly.
I have a fix in this PR, we will aim to get it reviewed and merged in ASAP.
Describe the Bug
The
displayPreview
option in the UploadConfig on a collection doesn't seem to be having any effect.This is a problem when using large files, as Payload has to download the whole thing (when using S3).
Link to the code that reproduces this issue
https://github.com/jensjeflensje/payload/tree/display-preview
Reproduction Steps
display-preview
pnpm dev _community
)Which area(s) are affected? (Select all that apply)
area: core
Environment Info
The text was updated successfully, but these errors were encountered: