pgferro
pgferro
FFilament
Created by pgferro on 5/3/2024 in #❓┊help
Custom BulkAction
@PovilasKorop i have this.
BulkAction::make('print_label')
->label('print')
->color('success')
->icon('heroicon-o-printer')
->action(function(Collection $records) {
return view('printlabel', compact('records'));
})
BulkAction::make('print_label')
->label('print')
->color('success')
->icon('heroicon-o-printer')
->action(function(Collection $records) {
return view('printlabel', compact('records'));
})
and it doesnt work, nothin happens on the click of the action
13 replies
FFilament
Created by pgferro on 5/3/2024 in #❓┊help
Custom BulkAction
thanks @PovilasKorop ! Of course I saw that article 😃 My struggle is to undertsand how to pass the collection instead of a sigle record to the controller. I tried everything I could think without success...
13 replies
FFilament
Created by pgferro on 5/3/2024 in #❓┊help
Custom BulkAction
thanks @Leandro Ferreira, could you pls guide me to implement it ? again i'm pretty green..
13 replies