Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Repeater.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ $slider
'max' => 7,
'button_label' => 'Add Slide',
'layout' => 'block',
'collapsed' => 'title',
])
->addText('title')
->addWysiwyg('content');
Expand All @@ -77,4 +78,4 @@ $slider
->endRepeater()
->addImage('background_image');
```
Here there is the ability to add 1 or 2 columns of content within each slide. Notice the use of `endRepeater()` which will tell the builder to stop adding fields to the repeater when chaining methods together. Essentially allowing the chain to traverse back up a level.
Here there is the ability to add 1 or 2 columns of content within each slide. Notice the use of `endRepeater()` which will tell the builder to stop adding fields to the repeater when chaining methods together. Essentially allowing the chain to traverse back up a level.