© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
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
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Filling a form temporary
F
Filament / ❓┊help
3y ago
form select assign default value
F
Filament / ❓┊help
3y ago
Filling a form on editPage
F
Filament / ❓┊help
3y ago
Form Select Loading indicator while filling from API
F
Filament / ❓┊help
2y ago