InlineRepeater on custom field #2678
Unanswered
kfina-planxy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my ModelRepository I generate an array based on some fields/relations/etc.
Then in the ModelControllere I have an InlineRepeater based on that custom generated field.
The InlineRepeater is empty, although the array given with the same id is not empty.
ModelRepository.php
ModelController.php
All I get is an empty InlineRepeater.
I compared it with $fields from another InlineRepeater, and added the fields like ["medias" => [], etc. ], which doesn't help at all.
Why isn't this working? The data I provide is in exactly the same shape as the other working inline-repeater fields.
For Reference, this is how dd($fields["..."]) of a working InlineRepeater field looks like:

Beta Was this translation helpful? Give feedback.
All reactions