F
Filament12mo ago
Vp

image not displayed on edit

File upload image cannot display on edit page.. what will be the error? My code:
Forms\Components\FileUpload::make('icon')
->required()
->image()
->maxSize(1024)
Forms\Components\FileUpload::make('icon')
->required()
->image()
->maxSize(1024)
Image is uploaded, displayed in table also (below image) but when edit, it cannot display in File upload form v3.1.15 No error, no console error also
No description
Solution:
Actually it's a problem of accessor in my model. Fixed now
Jump to solution
4 Replies
Vp
VpOP12mo ago
Nothing to talk about the whole project, I just want to know why the image is not displaying in edit form
Wbzy
Wbzy12mo ago
that guy spam in every post
celaraze
celaraze12mo ago
APP_URL=http://127.0.0.1:8000 in .env,dont use localhost
Solution
Vp
Vp12mo ago
Actually it's a problem of accessor in my model. Fixed now
Want results from more Discord servers?
Add your server