Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentβ€’2y agoβ€’
52 replies
Kinderlokkertje 529

Can you customise the behaviour of a toggle component?

Is it possible to customise the behaviour of a toggle component in the form builder? When I toggle it I want to execute some arbitrary code.
Solution
afterStateUpdated
afterStateUpdated
works, but i think you need to make your field
live
live
😜
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
Next page

Similar Threads

Customise column toggle button
FilamentFFilament / β“β”Šhelp
3y ago
How can I customise the view of a ViewAction?
FilamentFFilament / β“β”Šhelp
3y ago
Why can't you set the state of Toggle Buttons?
FilamentFFilament / β“β”Šhelp
2y ago
Odd "jumping" behaviour when using a toggle
FilamentFFilament / β“β”Šhelp
2y ago