Replies: 1 comment
|
It's indeed possible; I just had a typo. Here is the working code: 'config' => [
'fields' => [
'tag' => [
...
],
'title' => [
...
],
],
],
'repeater' => [
'name' => 'Reassurance',
'nameFrom' => 'Bloc reassurance',
'groups' => [
'image' => [
...
],
'alt_image' => [
...
],
],
], |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm creating a block with a repeater, and I want to add an option (only for this block) to specify how many items are displayed per line. I tried adding this option using the config array at the same level as the repeater array in my block, but it doesn't seem to work—only the repeater is displayed.
Is there a best practice for achieving this?
Best regards, Alice
All reactions