Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileUpload disk attribute is ignored #14503

Open
mrvnklm opened this issue Oct 11, 2024 · 0 comments
Open

FileUpload disk attribute is ignored #14503

mrvnklm opened this issue Oct 11, 2024 · 0 comments
Labels

Comments

@mrvnklm
Copy link

mrvnklm commented Oct 11, 2024

Package

filament/filament

Package Version

latest

Laravel Version

11.23.5

Livewire Version

No response

PHP Version

8.3.11

Problem description

FileUpload::make('original')->disk('local') is ignored. it uses laravels filesystems.php default and also ignores the default_filesystem_disk in filament.php config

Expected behavior

to change disk by using ->disk()

Steps to reproduce

set ->disk() to anything different than your configured laravel default
just create "new user" in test repo and see both uploads succeed even though no s3 credentials are set

Reproduction repository (issue will be closed if this is not valid)

https://github.com/mrvnklm/filament-upload-bug

Relevant log output

No response

Donate 💰 to fund this issue

  • You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
  • 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
  • Thank you in advance for helping us make maintenance sustainable!
Fund with Polar
@mrvnklm mrvnklm added bug Something isn't working medium priority unconfirmed labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant