© 2026 Hedgehog Software, LLC

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

Re-filling a form with select value

I have an issue where the select option is not being selected when the value is set for the second time.

E.g I've got a custom form inside a modal - when the modal is opened I
fill
fill
the form based on the record you've clicked on.

Works fine on the first opening, but not if you close the modal and then reopen a different record the fill is not populating the form select value.

- It's only an issue when a
select
select
. Works fine for text input.
- The fill is working because the $state is correct e.g
->helperText(fn ($state) => $state)
->helperText(fn ($state) => $state)

- Inspecting the DOM select options the value exists but the select value is blank.
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

Filling a form temporary
FilamentFFilament / ❓┊help
3y ago
form select assign default value
FilamentFFilament / ❓┊help
3y ago
Filling a form on editPage
FilamentFFilament / ❓┊help
3y ago
Form Select Loading indicator while filling from API
FilamentFFilament / ❓┊help
2y ago