© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
13 replies
Jon Mason

Toggle reverting to previous value on save

I have a toggle:

Toggle::make('is_active')->disabledOn('create')->default(true)->label('Active'),
Toggle::make('is_active')->disabledOn('create')->default(true)->label('Active'),

When I change it and click save on the resource, it says it saves succesfully, but then reverts back to it's original value. After refreshing the page it's value is updated. How do I ensure that changing the value and clicking save doesn't lose the updated value?
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

How to save the value of hidden toggle?
FilamentFFilament / ❓┊help
2y ago
Force select value based on a toggle option
FilamentFFilament / ❓┊help
11mo ago
V4 Enum not save the value on Radio
FilamentFFilament / ❓┊help
4mo ago