© 2026 Hedgehog Software, LLC

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

Display a filter based on previously selected filter option

I have a table, where there is a user_id column, which will be referred to two tables, teachers and students. I have a flag column to identify the user_type. Based on the user_type, I'll fetch the user's data from the relevant table, Students or Teachers.

The table and form were customized and worked as expected. I need to add the same for the filters, where the user can choose the user_type first and based on that I need to display the Select filter option with the relevant usernames.

How we can achieve this in filament, is it possible to do that?
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

Display data based on the option selected in select
FilamentFFilament / ❓┊help
11mo ago
inherit class attributes based on selected option
FilamentFFilament / ❓┊help
3y ago
BulkAction options based on selected records.
FilamentFFilament / ❓┊help
2y ago
Question about filter datepicker display and filter select option
FilamentFFilament / ❓┊help
3y ago