Repeater with hasMany

I have this tab with french translations in a repeater. Similar with it, I have a tab for Dutch translations, the difference between them being the relationship.
->relationship('translations', function ($query) {
      $query->where('language_code', 'nl')->get()->toArray();
 })
The two tabs display only the Dutch translation, not the French and the Dutch one. Have you any idea how can I display the corresponding translation from relationship?
message.txt12.46KB
Was this page helpful?