© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
5 replies
Raven

Reactive Fields

I've got two fields, purchase order and vendor. A purchase order object also has a vendor attached to it. I want it so that if the user selects a purchase order, it automatically selects the vendor and disables the field. If the purchase order gets unselected, the vendor field is cleared and enabled.
Solution
make the fileds
->live()
->live()
and put the logic inside the
->disabled(fn(Get $get)=> !$get('purchase_order_id'))
->disabled(fn(Get $get)=> !$get('purchase_order_id'))
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

Reactive fields
FilamentFFilament / ❓┊help
3y ago
Default value and reactive fields
FilamentFFilament / ❓┊help
3y ago
Searchable and reactive select fields not functioning
FilamentFFilament / ❓┊help
2y ago
[v2] Using reactive/dependent fields sends all fields to be saved
FilamentFFilament / ❓┊help
3y ago