getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.27k stars 167 forks source link

[3.8.0-rc.1] Fields of type "gap" are shown in object field preview #4688

Closed fabianmichael closed 2 years ago

fabianmichael commented 2 years ago

Description

When the fields property of an object field contains a gap field, it is rendered as preview.

Expected behavior
As the gap field is only a visual placeholde, it should not show up in the preview.

Screenshots

Bildschirmfoto 2022-09-23 um 08 40 40

Blueprint:

test_object:
  type: object
  fields:
    […]
    anchor_gap:
      type: gap
      width: 1/2
      when:
        link_type: anchor
    […]

Your setup

Kirby Version
3.8.0-rc.1

bastianallgeier commented 2 years ago