© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago
SLy

Translatable multiselect

I have a multiselect with spatie translatable, but when I change language, the values are not translated and I get console error: Uncaught (in promise) Could not find Livewire component in DOM tree in select.js

 Forms\Components\Select::make('transportTypes')
                    ->relationship('transportTypes', 'name')
                    ->getOptionLabelFromRecordUsing(fn (TransportType $transportType) => $transportType->name)
                    ->preload()
                    ->multiple()
                    ->columnSpanFull(),
 Forms\Components\Select::make('transportTypes')
                    ->relationship('transportTypes', 'name')
                    ->getOptionLabelFromRecordUsing(fn (TransportType $transportType) => $transportType->name)
                    ->preload()
                    ->multiple()
                    ->columnSpanFull(),
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

Close multiselect
FilamentFFilament / ❓┊help
10mo ago
Issues with Multiselect
FilamentFFilament / ❓┊help
3y ago
Multiselect allow duplicates
FilamentFFilament / ❓┊help
3y ago
Spatie translatable
FilamentFFilament / ❓┊help
7mo ago