Skip to content

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

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

EnvironmentApplication Name: Team KLaravel Version: 12.51.0PHP Version: 8.3.30Composer Version: 2.9.3Environment: localDebug Mode: ENABLEDURL: teamk.testMaintenance Mode: OFFTimezone: UTCLocale: enCacheConfig: CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: arrayDatabase: sqliteLogs: stack / singleMail: smtpQueue: syncSession: fileStoragepublic/storage: NOT LINKEDLocalesInstalled: cs, da, de, en, nb, nl, nnLaravelLang\Actions\Plugin: 1.12.0LaravelLang\Attributes\Plugin: 2.15.2LaravelLang\HttpStatuses\Plugin: 3.12.1LaravelLang\Lang\Plugin: 15.28.3LaravelLang\MoonShine\Plugin: INCORRECTLaravelLang\StarterKits\Plugin: 1.8.0Locales Version: 2.10.0Protected: enPublisher Version: 16.7.1StatamicAddons: 10Sites: 1Stache Watcher: Enabled (auto)Static Caching: DisabledVersion: 6.2.5 PROStatamic Addonsaryehraber/statamic-logbook: 4.0.0itiden/statamic-backup: 2.0.0-alpha.1mitydigital/statamic-logger: 3.0.1rias/statamic-address-field: 2.0.0rias/statamic-redirect: 4.1.2statamic-rad-pack/runway: 9.0.0studio1902/statamic-peak-browser-appearance: 4.0.0studio1902/statamic-peak-commands: 10.2.1studio1902/statamic-peak-seo: 10.0.0studio1902/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