F
Filament3mo ago
Cushty

filament filters show more

hi, I have a large list of filters in a checkbox list using a table in a livewire component, the filters are currently showing in a modal, but is there a way to show only a few options on each large filter checkbox list and a view more button built into filament, like on Airbnb filters or would I have to make a custom blade view and pull it in? Thanks
https://imgur.com/a/u2suI5n
https://imgur.com/a/u2suI5n
Solution:
They can scroll through the select to see all options? It's just taking up less space and requires a click as does the "show more" option
Jump to solution
9 Replies
Dennis Koch
Dennis Koch3mo ago
I don't think the checkboxlist has that feature yet.
Cushty
Cushty3mo ago
ah what would you use instead? is there a way i can add a modal button on the slideover and if they click it it shows the checkbox list maybe?
Dennis Koch
Dennis Koch3mo ago
Not sure whether that's possible. Why not use a multiselect if you have so many options?
Cushty
Cushty3mo ago
it would just be easier for the clients to see all the available options laid out, but i will look again at the muti select
Solution
Dennis Koch
Dennis Koch3mo ago
They can scroll through the select to see all options? It's just taking up less space and requires a click as does the "show more" option
Kenneth Sese
Kenneth Sese3mo ago
@Cushty Plug for my own plugin, but the AdvancedFilters of AdvancedTables can basically do this. You can have some default filters show and the rest available under a “Add Filter” button. It can also do other things (like auto-generate filters for you), but for what you need just copy and paste your existing filters to the ->filters() method, define which default filters show up, and you’re done. https://filamentphp.com/plugins/kenneth-sese-advanced-tables#adding-custom-filters
Filament
Advanced Tables (formerly Filter Sets) by Kenneth Sese - Filament
Supercharge your tables with powerful features like user customizable views, enhanced filter tabs, reorderable columns, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Dennis Koch
Dennis Koch3mo ago
I think it’s just about a lot of option in the checkbox list 😅
Kenneth Sese
Kenneth Sese3mo ago
Oh you're absolutely right...didn't read closely enough. 👍
Cushty
Cushty3mo ago
Thanks for the help guys, really appreciated.
Want results from more Discord servers?
Add your server