© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Tiber

Live data in an action modal form

So I've got something that is pretty easy with a normal form, but I am unsure how to do it when building a form inside an action. I basically have one select field whose options are dependent on the value of another select field.

I know the data is available in the $data array, but I can't figure out how to access that outside of ->action( ).
image.png
Solution
This is standard Getters in FIlament like you are doing, but your $get will fail to get the type from above, you need to travese out of the repeater with:

$get('../type') or $get('../../type') to get that data.
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

Access form data in modal action
FilamentFFilament / ❓┊help
2y ago
Action Modal $data
FilamentFFilament / ❓┊help
2y ago
Form Builder: Modal-Form Action
FilamentFFilament / ❓┊help
3y ago
Accessing form $data from an action using Livewire::make() form component in a modal
FilamentFFilament / ❓┊help
2y ago