filament/filament
v3.2.131
v11.36.1
v3.5.12
PHP 8.3.14
After clicking on an Action that is set to redirect to a download attachment URL (that will open the download dialog) inside a modal, then closing the modal, the modal reopens one time.
That the modal does not reopen at all.
In the reproduction repository:
composer install
, php artisan key:generate
, php artisan migrate --seed
/admin
[email protected]
password test
The related code is in app/Filament/Pages/Test.php
:
Action::make('actions')
->modal()
->extraModalFooterActions([
Action::make('download')
->action(function() {
// This works, but causes the containing modal to reopen when it is next closed.
// I cannot use url() instead of action() because I also need to run other logic.
$this->redirect('https://central.github.com/deployments/desktop/desktop/latest/win32');
})
])
https://github.com/ahamilton9/filament-issue
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too