RichEditor -> Image upload not working - none errors are shown :/
so when i remove the line "
->fileAttachmentsDisk('s3')
", it works perfectly. but when i add it, the image just doesnt upload. it stays there with this gray line and it doesnt do anything, no errors at all (no console errors, no validation errors, no backend errors). and yeah, the image is pretty small (500 x 500 px)
and idk how to debug it to make it work
objective: store RichEditor's files into my s3 bucket8 Replies
related docs im following (CTRL + F "->fileAttachmentsDisk('s3')"):
https://filamentphp.com/docs/2.x/forms/fields
Sounds like S3 isn't configured correctly, or you can't get a url to view it and it is falling over.
in other components it works just fine, like this one:
i tried to use the 2 last functions properly too (
fileAttachmentsDirectory
& fileAttachmentsVisibility
), but does the same:
any ideas why is not working? ^^What is the browser console showing?
nothing
no errors
its kinda weird
it just dont store them
without saying anything
u add images, u store, and then, when u open again the rich editor and u see that the images that u did put arent there
the text yes, is stored with success
but imgs, no
Please create a reporduction repository with the least about of code possible for us to re-create it to see.
id like to, but cant :/ i have other bugs to solve
ill close it for now, thanks for the answers
π