Skip to content

Labels not showing in Replicator sets nested in Grid fields #14049

@mariohuelsmann

Description

@mariohuelsmann

Bug description

We are using a custom layout container that we built ourselves.
It is a grid container where each field can define its column span within the grid.
We can add a content element to the container.
However, if we add a container to the content element’s replicator field, the labels of the added content elements do not appear.

Image

How to reproduce

We are using this container and we add any containers to it that we want to enable inside this grid container.
This problem exists and is reproduceable with any block that is being inserted into the grid block.

title: Grid
 fields:
  -
    handle: columns
    field:
      type: grid
      display: Columns
      add_row: 'Add column'
      min_rows: 1
      max_rows: 4
      fields:
        -
          handle: span
          field:
            type: button_group
            display: 'Column width'
            instructions: 'Width in 12-column grid'
            options:
              3: 3/12
              4: 4/12
              6: 6/12
              8: 8/12
              12: 12/12
            default: '6'
        -
          handle: content
          field:
            type: replicator
            display: Content
            collapse: true
            sets:
              blocks:
                display: Blocks
                sets:
                  tk_stackable_cards:
                    display: 'Stackable Cards'
                    icon: layout-three-columns
                    fields:
                      -
                        import: tk_stackable_cards
    -
      handle: size
      field:
        options:
          -
            key: small
            value: Small
          -
            key: large
            value: Large
        default: large
        type: select
        display: Size

Logs

Environment

Environment
Application Name: Team K
Laravel Version: 12.51.0
PHP Version: 8.3.30
Composer Version: 2.9.3
Environment: local
Debug Mode: ENABLED
URL: teamk.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: array
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Locales
Installed: cs, da, de, en, nb, nl, nn
LaravelLang\Actions\Plugin: 1.12.0
LaravelLang\Attributes\Plugin: 2.15.2
LaravelLang\HttpStatuses\Plugin: 3.12.1
LaravelLang\Lang\Plugin: 15.28.3
LaravelLang\MoonShine\Plugin: INCORRECT
LaravelLang\StarterKits\Plugin: 1.8.0
Locales Version: 2.10.0
Protected: en
Publisher Version: 16.7.1

Statamic
Addons: 10
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.2.5 PRO

Statamic Addons
aryehraber/statamic-logbook: 4.0.0
itiden/statamic-backup: 2.0.0-alpha.1
mitydigital/statamic-logger: 3.0.1
rias/statamic-address-field: 2.0.0
rias/statamic-redirect: 4.1.2
statamic-rad-pack/runway: 9.0.0
studio1902/statamic-peak-browser-appearance: 4.0.0
studio1902/statamic-peak-commands: 10.2.1
studio1902/statamic-peak-seo: 10.0.0
studio1902/statamic-peak-tools: 8.4.0

Installation

Starter Kit using via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions