File upload not getting "stored" with record
I have a super basic file upload:
I can successfully upload an image, see it in the file system (storage folder), get no console or PHP errors etc. but when I save, then refresh the page, the file preview is gone, as if the file was never uploaded, or like I'm looking at a blank/new record.
This is probably something really obvious, but what am I missing here?
Is there some special database field (other than file_name) that I need to have configured?
(Also, my APP_URL is definitely configured correctly).
Or do I need the Spatie plugin to preserve image previews?
I can successfully upload an image, see it in the file system (storage folder), get no console or PHP errors etc. but when I save, then refresh the page, the file preview is gone, as if the file was never uploaded, or like I'm looking at a blank/new record.
This is probably something really obvious, but what am I missing here?
Is there some special database field (other than file_name) that I need to have configured?
(Also, my APP_URL is definitely configured correctly).
Or do I need the Spatie plugin to preserve image previews?