© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
6 replies
Igor

Select with enum options bug in v4

I had a custom select extending Filament’s select, mainly to load enum options and set a default label (used repeatedly in the app). There’s also a cast so values are saved in the DB as the ordered days of the week. This worked fine in v3, but after upgrading I’m facing a bug: when editing a record, the already-selected days still appear as selectable options. If I pick them again, they duplicate and trigger a validation error on save. I suspect this might be related to my cast, but I’m not sure what changed.
I attached the code
image.png
carbon.png
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

Select disableOptionsWhenSelectedInSiblingRepeaterItems fails when options are Enum
FilamentFFilament / ❓┊help
2y ago
Enum with form->select
FilamentFFilament / ❓┊help
3y ago
Filtering Enum Options
FilamentFFilament / ❓┊help
8mo ago
Filter enum value from select enum options (get all enum values but selected ones)
FilamentFFilament / ❓┊help
2y ago