Accessing model data in repeater #2333
Unanswered
avinash403
asked this question in
Q&A
Replies: 1 comment
-
@avinash403 I'm afraid this is currently not possible, however it would be straightforward to implement using an hidden field storing the id of the item that would then be dynamically used in JS to render the link you're looking for. |
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
-
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