Skip to content

Commit 75240a8

Browse files
committed
add repeater controls docs
1 parent c6a8078 commit 75240a8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

v5/field-types.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,23 +613,27 @@ $repeater->setLimit(10);
613613
You can hide controls for a repeater if needed. For example, a short repeater field group may show limited controls. You can define what controls are shown:
614614

615615
```php
616+
// item controls
616617
$repeater->hideClone();
617618
$repeater->hideMove();
619+
620+
// main controls
618621
$repeater->hideFlip();
619622
$repeater->hideClear();
620623
$repeater->hideContract();
621-
$repeater->hideClone();
622624
```
623625

624626
Or, show them again:
625627

626628
```php
629+
// item controls
627630
$repeater->showClone();
628631
$repeater->showMove();
632+
633+
// main controls
629634
$repeater->showFlip();
630635
$repeater->showClear();
631636
$repeater->showContract();
632-
$repeater->showClone();
633637
```
634638

635639
### Tabs

0 commit comments

Comments
 (0)