© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
DanielvdSpoel

Multi select relationship complaining about json?

I have this component:
     Select::make('related_products')
                    ->label('Related Products')
                    ->relationship('products', 'name')
                    ->preload()
                    ->multiple()
                    ->searchable(),
     Select::make('related_products')
                    ->label('Related Products')
                    ->relationship('products', 'name')
                    ->preload()
                    ->multiple()
                    ->searchable(),

But i get this error:
https://flareapp.io/share/x5MZXKem
name is not json, so i have no clue what's going wrong
Flare
SQLSTATE[42883]: Undefined function: 7 ERROR: could not identify an equality operator for type json
LINE 1: select distinct "products".* from "products" left join "guid...
^ (Connection: pgsql, SQL: select distinct "products".* from "products" left join "guide_product" on "products"."id" = "guide_product"."product_id" wh...
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

Multi-Select Relationship by Image / Visually
FilamentFFilament / ❓┊help
3y ago
multi-select with relationship not returning data
FilamentFFilament / ❓┊help
3y ago
Select relationship
FilamentFFilament / ❓┊help
3y ago