© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
danzzz

Exporter: Modify Query based on Options?

Can I modify my exporter query based on additional options I have added to the form, next to the columns selection? In my case I have a Resource with transactional data. Each row has a column for an account, for example bank account or paypal account. I want to give the user the option if he wants to export the data off all accounts or just of certain accounts.

I want to use getOptionsFormComponents() to add a multi select field where he can choose the accounts.

But I have no idea how to use it in the query modifier used at the Action Button.
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

Conditionally modify query based on column visibility
FilamentFFilament / ❓┊help
3y ago
Modify query on AttachAction
FilamentFFilament / ❓┊help
2y ago
Modify SelectFilter query based on another SelectFilters value (Dependent Filters)
FilamentFFilament / ❓┊help
3y ago
BulkAction options based on selected records.
FilamentFFilament / ❓┊help
2y ago