Kirby files should allow .vcf

Hi all,

i tried this:

          files:
            headline: Dateien
            type: files
            accept:
              extension: vcf

file.vcf
Ungültiger Dateityp: -

The accept property needs to be set in a file blueprint that is then assigned to the section or field.

yeah i did, but then only this file is allowed. how to allow all file types and this?

                  vcard:
                    label: Visitenkarte
                    type: files
                    multiple: false
                    required: true
                    template: vcf

this only works when i also give the section files field template: vcf but then you can’t see other files anymore.

Please see docs how to specify mime types, types and extensions: File blueprint | Kirby CMS

It might make sense to upload these vcf files only via the field itself…

but if you upload it via the field it is also in the page media library…
i now created a default.yml in files and set accept: true, that works.

thank you