-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Description
When a repeater uses a selector field as its nameFrom source, the row label shown in the back-office sidebar is JSON data.
'repeater' => [
'name' => 'Selected products',
'nameFrom' => 'product', // <— selector field
'groups' => [
'product' => [
'type' => 'selector',
'collection' => 'Product',
'selector' => '{id} - {name}',
],
],
],Steps to reproduce
- Create a custom block with the configuration above.
- In the BO page builder, add an item and pick a product via the selector.
- Look at the repeater tree: the new row shows JSON data instead of the product label.
Expected behavior
The row title should display the formatted string defined by the selector field
(e.g. 7 – Smoked Ardennes Ham).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels