Skip to content

Commit ca91664

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

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

v5/field-types.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,19 @@ You can also limit the number allowed using the `setLimit()` method.
608608
$repeater->setLimit(10);
609609
```
610610

611+
### Controls
612+
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:
614+
615+
```php
616+
$repeater->hideClone();
617+
$repeater->hideMove();
618+
$repeater->hideFlip();
619+
$repeater->hideClear();
620+
$repeater->hideContract();
621+
$repeater->hideClone();
622+
```
623+
611624
### Tabs
612625

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

0 commit comments

Comments
 (0)