© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
9 replies
sm

Add dehydrateStateUsing to Builder\Block

I have a builder that I'm using to store related data on a Form, adding a
dehydrateStateUsing
dehydrateStateUsing
to the builder works, but I want to have each block manage it's own dehydrated state to keep things a little bit more modular.. but adding a
dehydrateStateUsing
dehydrateStateUsing
to the Block doesn't seem to work (never gets called). I've also tried accessing ->blocks() and running getState() on them within the builder, but that doesn't trigger the dehydrateStateUsing callback either. The docs state that whenever
getState()
getState()
is called the dehydrateStateUsing is called.. but that doesn't seem to be the case for Blocks? Any pointers?
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

Big Builder Block - Page Builder
FilamentFFilament / ❓┊help
6mo ago
mutateFormDataBeforeCreate vs dehydrateStateUsing
FilamentFFilament / ❓┊help
3y ago
Builder inside Custom Block Modal
FilamentFFilament / ❓┊help
7mo ago