pxlrbt / filament-excel

Excel Export for Filament Admin Resources
MIT License
364 stars 68 forks source link

[Feature request] Add the ability to modify the query and add custom fields #19

Closed bezhanSalleh closed 1 year ago

bezhanSalleh commented 2 years ago

Something like Action Modals does

https://user-images.githubusercontent.com/10007504/177214175-12c258a5-f122-4672-a7b5-d7caa68808e5.mov

pxlrbt commented 2 years ago

You can now modify the query. #31

Rahul-codoffer commented 7 months ago

@bezhanSalleh Plz can you tell us how did you export the data with the custom input.

pxlrbt commented 7 months ago

@Rahul-codoffer You just need to overwrite ->form() on the action. Here is the default source code for it: https://github.com/pxlrbt/filament-excel/blob/eaea34d4bd0f31553d0df9f70a3b010ae07b4c29/src/Actions/Concerns/ExportableAction.php#L26-L35

Rahul-codoffer commented 7 months ago

@pxlrbt Thanks man !