Hello,
is it possible to filter files for the panel by a toggle field of the file blueprint. For example:
blueprints/files/pdf.yml
title: PDF
accept:
mime: application/pdf
fields:
archive:
label: Archive
type: toggle
text: Archive File
blueprints/pages/product.yml
title: Product Downloads
icon: page
pages: false
sections:
content:
type: fields
fields:
text:
type: textarea
size: small
files:
headline: PDF Files
type: files
template: pdf
sortBy: modified desc
sortable: false
#filterBy: archive=false
archived:
headline: Archived PDF Files
type: files
template: pdf
sortBy: modified desc
sortable: false
#filterBy: archive=false
So I would like two have two section for files. One section for every file, which is archive true and one section for all other files, which is archive false.
Hope you understood, what I would like to have for the editor. Thank you in advance.