© 2026 Hedgehog Software, LLC

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

Visibility of multiple fields

Hey guys, I am new to Filament and I was wondering is there a option to control visibility of multiple fields one below each other? I guess I am asking for some kind of wrapper where I can call
visible()
visible()
or
hidden()
hidden()
on. I read that there is
Section
Section
but I don't want to create a new section. One other option is to extract the callback and use it in every field (3 times if I have 3 fields)

Pseudo code what I am looking for

Select::make('my_field')

Wrapper::make([
  Select::make(...)
  Text::make(...)
  Text::make(...)
])->visible(function (Get $get) {
    return $get('my_field') === 'value')
})
Pseudo code what I am looking for

Select::make('my_field')

Wrapper::make([
  Select::make(...)
  Text::make(...)
  Text::make(...)
])->visible(function (Get $get) {
    return $get('my_field') === 'value')
})


Cheers!
Bobby
Solution
You can use a Group instead of a Section
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

Conditional visibility of form fields
FilamentFFilament / ❓┊help
15mo ago
Validate multiple dynamic fields
FilamentFFilament / ❓┊help
2y ago
Toggle fieldsets visibility, but also save hidden data.
FilamentFFilament / ❓┊help
7mo ago
Conditional visibility of Repeater extraActions
FilamentFFilament / ❓┊help
2y ago