I understood it was all, but looks like not I as still have the same error.
I also tried with same results:
title: Allow All Files
accept: true
So now comes a few questions:
How to assign it in my section?
How can I assign it to a specific field at my page? as I wish to have another field that will receive just images (if possible)
I confess I get a bit lost with the documentation that I consider a bit unfriendly with beginners. I had the opportunity to read it throughly and if feels pretty complete, but the pieces sometimes don’t connect.
Is it possible to have an example considering my case?
Perfect, it works! And thanks to guide me thought the documentation, I guess I would not be able to find it as it is hard to find something I didn’t know I was looking for
As soon I make it work, I will post here the solution with example for people in the future that comes with the same question.
In my case I am adding the files to my home page through a custom block I created.
site/blueprints/blocks/content-row.yml
title: Content Row
icon: book
fields:
... (other fileds)
animations:
label: Upload Animations
type: files
uploads: allow-json #Assuming that I have an allow-json.yml in site/blueprints/files
... (other fields)
At my specific case I am adding lottie animation .json files to my page. Here is how to bring it to my custom block: