F
Filamentβ€’14mo ago
ziolupo

fileupload hang when I drop new image

I have a very simple component on a page: Forms\Components\FileUpload::make('logo') ->directory('logos') ->columnSpanFull(), when is empty and I use drag & drop there is no problem, the file wwas uploaded corectly. If during editing I'm dropping a different image for replacing the first one, filament hang. The save button is always reporting "Upload File" but it hang there. There is something wrong in this very simple code?
No description
4 Replies
Vp
Vpβ€’14mo ago
IIRC this is known bug
ziolupo
ziolupoOPβ€’14mo ago
I tried using the SpatieMediaLibrary and there is the same bug. Do you know about any workaround?
Vp
Vpβ€’14mo ago
The work around is don't drop image before removing the previous image haha.. actually I don't know
ziolupo
ziolupoOPβ€’14mo ago
Believe me or not... I guessed the same. πŸ˜†
Want results from more Discord servers?
Add your server