Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple headerActions #66

Closed
mcfaith9 opened this issue Mar 28, 2023 · 3 comments
Closed

Multiple headerActions #66

mcfaith9 opened this issue Mar 28, 2023 · 3 comments
Assignees

Comments

@mcfaith9
Copy link

It will be good idea to have fully custom multiple header action, i dont know if its already there, but I tried its not working

use AlperenErsoy\FilamentExport\Actions\FilamentExportHeaderAction;

->headerActions([
      FilamentExportHeaderAction::make('Export')->defaultFormat('pdf')->label('Export PDF'),
      FilamentExportHeaderAction::make('Export')->defaultFormat('xlsx')->label('Export Excel'),
      FilamentExportHeaderAction::make('Export')->defaultFormat('csv')->label('Export CSV')
  ])
@mcfaith9 mcfaith9 changed the title Multiple headerActions Multiple headerActions <request> Mar 28, 2023
@mcfaith9 mcfaith9 changed the title Multiple headerActions <request> Multiple headerActions Mar 28, 2023
@alperenersoy
Copy link
Owner

hey. thanks for the idea. will check this.

@alperenersoy alperenersoy self-assigned this Mar 28, 2023
@mcfaith9
Copy link
Author

hey. thanks for the idea. will check this.

Hey @alperenersoy, no need for this one, someone pointing this out on discord, I just to make action name unique

image
image

@alperenersoy
Copy link
Owner

@mcfaith9 I am glad you solved your problem. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants