How customize Repeater's item using Livewire component? #14676
Unanswered
josevictor-ultrahaus
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Form builder
Package Version
v3.2.115
How can we help you?
Livewire 3x.
I have a Livewire component
OpportunityQuote
that has a Repeater in its structure, like this:For each item in my Repeater, I will have another custom 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?
Beta Was this translation helpful? Give feedback.
All reactions