Skip to content

Files field cleared in some situations when clicking on the field heading #7631

@danburzo

Description

@danburzo

Description

In some cases, clicking the heading of a Files field clears the already selected image, and does not show the file picker interface.

Clicking on the heading of a File field clears the selected image

To reproduce

Having this fragment in the page blueprint:

      sidebar:
        width: 1/3
        sections:
          sidebar_fields:
            type: fields
            fields:
              cover:
                type: files
                label:
                  en: Cover image
              poster:
                type: files
                label:
                  en: Poster image
              stills:
                type: files
                label:
                  en: Stills
  1. Upload and select an image for the Cover image field
  2. Save and refresh the page
  3. Click on the Cover image heading
  4. The selected image is removed

Your setup

Kirby Version : 5.1.2
Console output: None

Your system (please complete the following information)

  • OS: MacOS
  • Browser: Firefox 144 / Safari 26.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions