File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ class ExportButtonComponent extends Component
2525
2626 public string $ filename = '' ;
2727
28+ public string $ buttonName = 'Export ' ;
29+
2830 public string $ sheetName = 'Sheet1 ' ;
2931
3032 public bool $ autoDownload = false ;
Original file line number Diff line number Diff line change 1010 searchParams.set('action', 'exportQueue');
1111 searchParams.set('exportType', '{{ $fileType } } ');
1212 searchParams.set('sheetName', '{{ $sheetName } } ');
13+ searchParams.set('buttonName', '{{ $buttonName } } ');
1314 searchParams.set('emailTo', '{{ urlencode ($emailTo )} } ');
1415
1516 var tableParams = $.param(oTable.ajax.params());
3536 x-ref =" exportBtn"
3637 :disabled =" $wire.exporting"
3738 class =" {{ $class } }"
38- >Export
39+ >{{ $buttonName } }
3940 </button >
4041 </form >
4142
You can’t perform that action at this time.
0 commit comments