© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Emaz

hidden fields V3

Are hidden fields supposed to save with the Model on form builder create?

I'm finding that
TextInput::make('description')->hidden(),
will not save unless I removed the hidden method.
Solution
There is also a Hidden field. They are two different things. ->hidden() will remove a field from the form so it will not persist to data. The Hidden field is an actual hidden html input. Just be careful with what data you put in the field as it could be manipulated by users in the front end.
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

Similar Threads

Hidden fields
FilamentFFilament / ❓┊help
3y ago
Include hidden fields
FilamentFFilament / ❓┊help
12mo ago
Empty hidden fields
FilamentFFilament / ❓┊help
2y ago