© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
2 replies
jamesro

HasManyThrough for select field

Hello,

Select field is not compatible with HasManyThrough ? Any way to make it work? i have

public function categorii()
    {
        return $this->hasManyThrough(Categorii::class, NecesareCategorii::class, 'id_necesar', 'id', 'id', 'id_categorie');
    }
public function categorii()
    {
        return $this->hasManyThrough(Categorii::class, NecesareCategorii::class, 'id_necesar', 'id', 'id', 'id_categorie');
    }


But in my select field when I select and save the record, doesn't seems to be creating the relation
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

HasManyThrough realationship in Select
FilamentFFilament / ❓┊help
3y ago
RelationManager for hasManyThrough relationship
FilamentFFilament / ❓┊help
2y ago
Persisting custom select field for dependent select.
FilamentFFilament / ❓┊help
3y ago
select field
FilamentFFilament / ❓┊help
3y ago