Does RepeatableEntry support arrays or only models?
I am currently working on a project and trying to use
RepeatableEntry
to manage dynamic entries for product totals. I've structured my RepeatableEntry
as follows:
However, it appears that the RepeatableEntry
is not displaying or functioning as expected. Does RepeatableEntry
only work with Eloquent models, or can it also handle arrays like the one I am trying to use? Has anyone encountered this issue, and what solutions or workarounds might you suggest?2 Replies
I looked into the code and noticed it seems geared towards handling Eloquent models specifically. Here’s what I found:
From this, it looks like non-model data like arrays doesn't get the same handling as models do. Has anyone successfully used RepeatableEntry with arrays? How did you manage it?
Cheers!
I have exactly the same problem. Have you been able to solve it yet?