TextEntry url
I have a custom page and it displays Infolist with some TextEntries. In my custom page I have this code:
So there is a company model which can have multiple files. This will display a list of all files. But I want to be able to have file name displayed to be clickable and link to a file. Issue is that in database (files.path) is stored only a filename. In order to have full url, I must do
asset('storage/'. $filenameFromDB)
. How can I do that?1 Reply
Also, I have tried using
solutionforest/Filament-SimpleLightBox
plugin, but I have the same issue with additional issue being that ->SimpleLightbox()
accepts url only as a string 😢