© 2026 Hedgehog Software, LLC

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

Preloaded select component loads selected values

Trying to figure out if this is a bug or if i'm doing something wrong.

I have a select component with a relationship

Select::make('managers')
    ->relationship('managers', 'full_name')
    ->multiple()
    ->preload(),
Select::make('managers')
    ->relationship('managers', 'full_name')
    ->multiple()
    ->preload(),


When i use the form->fill it selects the current selected items, which works, but it also adds these to the drop down.
These items are unresponsive in the dropdown. When i remove an item, and reselect it in the dropdown, it is removed from the dropdown.

My expected behavior would be: on load, the currently selected items, are removed from the dropdown and only readded when the selection is removed.
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

How to populate multi select list with default selected values
FilamentFFilament / ❓┊help
3y ago
Select Component
FilamentFFilament / ❓┊help
3y ago
Select form component with relation loads items from other tenants
FilamentFFilament / ❓┊help
3y ago
Select: Width after selected
FilamentFFilament / ❓┊help
2y ago