SpatieMediaLibraryFileUpload in Custom Page
I have a customized page with a form, the media relationship is working fine, but the image is not displayed in the media input.
APP_URL
Solution
SOLVED:
Inside the
To not change the package files directly, we can add the load in the mount() custom page method:
Inside the
SpatieMediaLibraryFileUpload.php, first we need to load('media') record and after getMedia.To not change the package files directly, we can add the load in the mount() custom page method: