© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
DianaMujoiu

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();
 })
->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
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Repeater HasMany
FilamentFFilament / ❓┊help
11mo ago
Repeater with hasMany relationship
FilamentFFilament / ❓┊help
3y ago
Filament Manage Related with hasMany and hasMany with Repeater
FilamentFFilament / ❓┊help
3y ago
Repeater HasMany relationship error
FilamentFFilament / ❓┊help
3y ago