ページ · Laravilt
Repeater
Repeating groups of fields with limits, reordering and relationships.
A repeating group of fields.
Basic usage
php
Limits and behaviour
php
Relationship
php
API reference
| Method | Description |
|---|---|
schema(array|Closure) | Fields for each item |
columns(?int) | Columns inside each item |
minItems(int) / maxItems(int) / defaultItems(int) | Item counts |
reorderable() / collapsible() / cloneable() / deletable() | Item actions |
addActionLabel(string) / deleteButtonLabel(string) | Button labels |
itemLabel(Closure|string) | Header label per item |
relationship(?string) | Save to a HasMany relationship |