© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
30 replies
MikeG

How do I pass form modal input back to the main form?

I am opening a form modal through an action, and having a new input field there. Upon saving the modal, i'd like that contents of the input field inside the modal to go back to the original input field the modal was opened from on the main form.

How would one achieve that in Filament?
Solution
To set a field, try adding Set $set to your argument, then $set("field name", $value)
Jump to solution
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 Get $get an input that is in the main form from the ->createOptionForm modal
FilamentFFilament / ❓┊help
2y ago
how to set the data from input to a form modal
FilamentFFilament / ❓┊help
14mo ago
How to modify the Modal Form position
FilamentFFilament / ❓┊help
5mo ago
How to pass ulid into form without using hidden input
FilamentFFilament / ❓┊help
2y ago