Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
b14s_
Posts
Comments
F
Filament
•
Created by b14s_ on 8/25/2023 in
#❓┊help
Select input, when on the view page the id of the relation is shown instead of the name
I have a select input populated with the relationship helper
->relationship('company', 'name', fn (Builder $query) => $query->doesntHave('subscription'))
->relationship('company', 'name', fn (Builder $query) => $query->doesntHave('subscription'))
On the view page it shows the id of the selected record and not the name. Is there a way to fix this?
3 replies