Skip to content

Fields inside structure fields inside block no longer editable #7593

@oskar-koli

Description

@oskar-koli

Description

In Kirby 5.1.0, when using a structure field inside a block the fields inside structure items are no longer editable after being initially created. See video below for clarification. If I downgrade to 5.0.4 then this issue goes away.

Expected behavior

I would expect the fields to be editable.

Screenshots

Link to video recorded on test site built with latest Plainkit.

To reproduce

  1. Download latest Plainkit
  2. Add this block blueprint:
fields:
  test:
    type: structure
    fields:
      value:
        type: text
  1. Edit the default page blueprint to this:
title: Default Page

columns:
  main:
    width: 2/3
    sections:
      fields:
        type: fields
        fields:
          blocks:
            type: blocks
            fieldsets:
             - test
  sidebar:
    width: 1/3
    sections:
      pages:
        type: pages
        template: default
      files:
        type: files
  1. Open the Panel, add the block, add an item to the structure field inside the block. Then try to edit it again.
  2. Notice that the value does not change.

Your setup

Kirby CMS: 5.1.0
PHP: 8.1

Your system (please complete the following information)

  • Device: MacBook Pro
  • OS: Mac OS 15.6.1 (24G90)
  • Browser: Firefox
  • Version: 141.0.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions