When I try to upload a pdf in the panel I get this error: “Invalid file type: document” I’ve tried multiple different files but none of them seem to work… Images do work though.
The field is in my site.yml and looks like this:
disclaimer:
label: Disclaimer
type: files
max: 1
Can’t seem to find it anywhere in the docs but maybe I’m just looking the wrong way…
It might make sense to use different file blueprints for different files fields/sections, so that users can only upload certain file types to these fields/sections.