Polymorphic upload field #13912
immotus
started this conversation in
Feature Requests & Ideas
Replies: 1 comment 2 replies
-
I believe this has been on our roadmap to support and it was just not prioritized. @paulpopus is the eng that recently built out our upload field extensions - Paul, can we pick back up on this? I agree that it's strange that it's unsupported when it well could be. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For some unexplainable reason, the Upload field does not support polymorphism. The documentation says:
relationTo *
- Provide a single collection slug to allow this field to accept a relation to.This is surprising because its
relationship
counterpart happily acceptsstring[]
and allows browsing for entries from multiple collections.What makes it even weirder is that even the standard Lexical Upload block supports polymorphism with a handy drawer selector:
@jmikrut @jacobsfletch @PatrikKozak is there any explanation for this?
And how can one achieve Lexical Upload block behaviour with an
upload
field:Beta Was this translation helpful? Give feedback.
All reactions