Only allow specific file type in blueprint file settings

As far as I know, there is no possibility to only allow a specific file type in the blueprint file settings

It could look somehow like this:

  type: image

I tried to include it:

If you and others could check if this actually works as intended (little testing on my side did), we’d see if it’s actually a way to implement it. Which then @bastianallgeier could decide upon (or maybe we’ll figure out the checkUpload method isn’t the right place to do it)

EDIT: just realized that it would prob be useful to be able to specify more than 1 type. that would need a lil different take

1 Like

Now with multiple types supported:

So this works:

  type: document

and this as well:

    - image
    - video

The supported types can be found here: