SpartnerNL / Laravel-Excel

🚀 Supercharged Excel exports and imports in Laravel
https://laravel-excel.com
MIT License
12.13k stars 1.89k forks source link

[Bug]: set file name ,but got undefined.xlsx #4137

Open jonny77 opened 1 month ago

jonny77 commented 1 month ago

Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?

What version of Laravel Excel are you using?

3.1.47

What version of Laravel are you using?

v11.0.3

What version of PHP are you using?

8.2

Describe your issue

public function export() { return Excel::download(new TestExport(), 'test.xlsx'); }

How can the issue be reproduced?

simple code shown above image

What should be the expected behaviour?

filename test.xlsx as expected

patrickbrouwers commented 1 month ago

Sorry cannot reproduce