Hi,
I would like to get a file list in a custom select field
i have placed a custom field with yaml:
fields:
header.download:
type: select
style: vertical
label: Select File
classes: fancy
data-options@: ‘\Grav\Common\Page\Media::functionReturningFiles’
Hope someone can point me in the right direction.
Thx in advance.