zesimples
How customize Repeater's item using Livewire component?
How do I make each line of my Repeater with custom component to have the
current
item?
If we look at the itemLabel
method, it has by default a $state
that represents the current line, so you can customize the title.
But, Within the schema
method, the variable $state
does not just represent a line, but rather the state of the Repeater as a whole, being multi-dimensional array.
But, how do I do this?8 replies