Files Section "Change Template" can't be enabled

Hi there,
I tried to enable the “Change Template” Option for my Files-Section, but it doesn’t work.

Here is my yaml code:

    sections:
      sitemedia:
        type: files
        layout: cards
        size: medium
        info: "Template: {{ file.template }} <br /> {{ file.dimensions.width }} x {{ file.dimensions.height }} px <br /> {{ file.niceSize }}"
        search: true
        limit: 60
        sortable: true

I already considered checking my roles (It’s not even working with Admin), checking that I have multiple files blueprints and checking my files blueprints settings.

Here’s an example for one files blueprint:

title: 
  en: Images
  de: Bilder

# options
options:
  changeName: true
  changeTemplate: true
  delete: true
  read: true
  replace: true
  update: true

# settings
image:
  back: pattern
accept:
  extension: jpg, jpeg, png
focus: false

# fields
fields:
  alt:
    label:
      en: Alt
      de: Alt-Text
    type: text
    icon: wheelchair
    width: 1/2

What am I doing wrong?

I think it’s a bug in our implementation. The file change rules check if there are other templates available that the file can be changed to. It does so by checking files sections etc of the page to see which templates a file has. The problem is that right now if a files section doesn’t define a specific template, this falls back to only consider the default template, not all available templates.

Opened an issue: File changeTemplate rules: Bug when no template defined · Issue #6761 · getkirby/kirby · GitHub