Twill 3.0: How to generate a repeater block? #2343
Unanswered
mdaelemans
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @mdaelemans, repeaters are not exactly blocks, so creating a block and referencing it in the type of a repeater field wouldn't work. For your use case, an |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I want to make a 'Cards' block in the Twill 3.0 block editor with a repeater field to add up to 3 cards to the container block. I have generated both 'Cards' and 'Card' blocks, but when adding the repeater field with type 'card' to the block editor, it stays empty in the block editor.
This is the 'Cards' block (the container):
This is the 'Card' block:
When adding the 'Cards' block in the block editor, it stays empty, so I am not able to add multiple cards to the container.
The documentation is not clear on how to generate repeater blocks.
What am I doing wrong?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions