© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2w ago•
6 replies
nexxai

Can I conditionally enable/disable an entire panel?

✅ SolvedPanels4️⃣v4
I have a secondary panel for a subset of users that should only be active for login based on a condition (e.g. only during certain dates).

Does anyone have any ideas on how I could accomplish something like this? There's nothing obvious that I can see, short of adding a middleware, but I was hoping for something a little more Filament-centric.
Solution
I’m not sure exactly how you would disable the panel as a whole, but a middleware would be the appropriate way to handle this. And register the middleware directly on the panel.

Maybe just abort the request in general based on the dates.
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

Can we disable the entire table
FilamentFFilament / ❓┊help
3y ago
How can I conditionally disable a custom input field?
FilamentFFilament / ❓┊help
2y ago
disable/enable modalsubmitaction
FilamentFFilament / ❓┊help
3y ago
Conditionally hide or disable row
FilamentFFilament / ❓┊help
3y ago