Table Repeater Export
Is there anyway I can use filament export action in table repeater
1 Reply
this is my code
no response no error no downloads what am i doing wrong
->extraActions([
Forms\Components\Actions\Action::make('exportData')
->icon('heroicon-m-inbox-arrow-down')
->hidden(fn($operation) => $operation == 'create')
->action(function (array $arguments, TableRepeater $component, $state, $livewire) {
ExportAction::make()
->exporter(PackageExporter::class)
->modifyQueryUsing(fn (PackagedProducts $query) => $query->where('lcl_package_id', $livewire->record->id));
}),
])
->extraActions([
Forms\Components\Actions\Action::make('exportData')
->icon('heroicon-m-inbox-arrow-down')
->hidden(fn($operation) => $operation == 'create')
->action(function (array $arguments, TableRepeater $component, $state, $livewire) {
ExportAction::make()
->exporter(PackageExporter::class)
->modifyQueryUsing(fn (PackagedProducts $query) => $query->where('lcl_package_id', $livewire->record->id));
}),
])