dependent select filter not working
Dependent select filter not working
I am working withe dependant select filter but not working you can check the screenshot for details where user select the district in the first filter
Then in the second filter pick those staff whose belongs to the selected folter
3 Replies
Why are you using a form in the selectfilter?
You dont need that take a look at https://filamentphp.com/docs/3.x/tables/filters/select#relationship-select-filters
Maybe if you change that it can work, dont know for sure,.
I am using form because one filter depend on another filter simple select filter work fine but what I need the second filter depend on the first filter
The two selects must be inside the same Filter.
https://filamentphp.com/docs/3.x/tables/filters/custom#custom-filter-forms