Search
Get Started
F
Filament
β’
2y ago
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
Join
A powerful open source UI framework for Laravel β’ Build and ship admin panels & apps fast with Livewire
20,361
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
afterStateUpdated
afterStateUpdated
live
live
Next page
Similar Threads
Why can't you set the state of Toggle Buttons?
F
Filament / ββhelp
2y ago
Odd "jumping" behaviour when using a toggle
F
Filament / ββhelp
2y ago
Can you add a custom css class to a form component (like a toggle?)
F
Filament / ββhelp
10mo ago
Center toggle component
F
Filament / ββhelp
3y ago