© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•13mo ago•
5 replies
John Parker

Using $set on hidden field

Is there a reason why it's not possible to set the value of a hidden field (i.e.:
Forms\Components\Hidden
Forms\Components\Hidden
) using
$set
$set
so that the value is visible from JavaScript in the normal manner?

I've some code that works as expected when using a normal text field (as a quick visual debugging mechanism), but which fails when the form element is set as hidden.

Is this expected behaviour?
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

Using $set on custom field
FilamentFFilament / ❓┊help
3y ago
Set initial value for hidden field
FilamentFFilament / ❓┊help
3y ago
Save hidden field
FilamentFFilament / ❓┊help
3y ago
hidden field depends on current page
FilamentFFilament / ❓┊help
2y ago