Skip to content

Commit c6a8078

Browse files
committed
add repeater controls docs
1 parent ca91664 commit c6a8078

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

v5/field-types.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ $repeater->setLimit(10);
610610

611611
### Controls
612612

613-
You can hide controls for a repeater if needed. For example, a short repeater field group may show linted controls. You can define what controls are shown:
613+
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
616616
$repeater->hideClone();
@@ -621,6 +621,17 @@ $repeater->hideContract();
621621
$repeater->hideClone();
622622
```
623623

624+
Or, show them again:
625+
626+
```php
627+
$repeater->showClone();
628+
$repeater->showMove();
629+
$repeater->showFlip();
630+
$repeater->showClear();
631+
$repeater->showContract();
632+
$repeater->showClone();
633+
```
634+
624635
### Tabs
625636

626637
You can add tabs to repeaters as well using the Tabs API.

0 commit comments

Comments
 (0)