© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
8 replies
Firebat

Select with multiple doesn't show previously selected record because they are softdeleted

I know it is because of Laravel eloquent and i could change the query to withTrashed but the hard part is that the options should not list softdeleted, because in the app they are "archived", but the previously selected options should. I can make the "same" option work in relations that store a id on the table using getOptionLabelUsing, i tried using getOptionLabelsUsing on the multiple form Select but to no affect, any on how to make it work?
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

Preset attributes according to selected tab/previously created record
FilamentFFilament / ❓┊help
17mo ago
ExportBulkAction don't work with selected record
FilamentFFilament / ❓┊help
13mo ago
Multiple Select with belongsToMany relationship, saves but does not show selected after reload.
FilamentFFilament / ❓┊help
3y ago
Multiple Select with pivot table not showing the record because it is soft deleted.
FilamentFFilament / ❓┊help
16mo ago