© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
FilaFan

State of multiple toggle buttons

I have multiple dynamically generated toggle buttons, I need to get the state of all of the toggle buttons that are selected. Using afterStateUpdated I can only get the state of the current selected toggle button but I need to know the state(selection) of any other toggled buttons. Anything else I can pass to the function?

->afterStateUpdated(function (Set $set, Component $component, ?string $state)
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

Why can't you set the state of Toggle Buttons?
FilamentFFilament / ❓┊help
2y ago
Toggle Column maintain state
FilamentFFilament / ❓┊help
3y ago
Determine Toggle label by state
FilamentFFilament / ❓┊help
3y ago
Override `getColors()` from enum for toggle buttons
FilamentFFilament / ❓┊help
2y ago