Accessing model data in repeater #2466
Unanswered
avinash403
asked this question in
Q&A
Replies: 2 comments
-
I would like to know how to do this also. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wrote a script to handle that using IDs in the repeater. I added
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussed in #2333
Originally posted by avinash403 September 13, 2023
I have this parent model, let's say
Post
and child element with one to many relation let's sayCollaborator
. On my form, I have a list if collaborators added as a repeater to give functionality to create collaborators quickly. I want to put up a link to edit the collaborator on each of the repeater element. Is there a way to get the model data attached to a repeater element in the repeater blade file?Beta Was this translation helpful? Give feedback.
All reactions