Repeater (array)
Last updated
Was this helpful?
Last updated
Was this helpful?
You can use almost any field type, an error will be thrown if you use an invalid field.
Show all field slots (labels and more) on every iteration.
Without this, the label will only be displayed above the first row.
Makes the array sortable. Show buttons to change the order of the array items. (See the image)
Applied to the outer wrapper surrounding the Repeater field group
Default: 'flex flex-col divide-y mb-2 rounded border'
Defines the css grid for the Repeater field group
Default: 'flex-1 sm:grid sm:grid-cols-12 gap-x-2'
Overrides nested $field->colspan()
Default 12 of 12 columns
If you set it on the Panel
you do not have to set it on each nested field.
Apply $field->stacked()
to all nested fields, can be overridden in each field.
Apply $field->inline()
to all nested fields, can be overridden in each field.
Override nested fields wire:model
attribute.
Show an alert to confirm item deletion.
Custom message
Default message = config translation string 'are-u-sure'