I understand that I can restrict the mimetype from a collection however I would like to set this on the field itself instead.
E.G. One
Media
collection for the project. An
upload
field which only accepts video files?
I would rather not create another Upload collection if possible
Right now this is not possible but in the future it could be!
It currently IS possible on the Relationship field, which functions in largely the same way
there, you can pass
filterOptions
which restricts the options that can be passed
I see, that would work perfect, thank you!
hello @sccttt i also want to do this can you give me a some reference or example to achive this.
Star
Discord
online
Get dedicated engineering support directly from the Payload team..