Get file name from media table
Hi there, is it possible to get/show the file name (file_name) for each media in a Infolist? How can I achieve that?
It doesn't matter for me, if it's the random file name or a preserved file name, but I want to show this name in the InfoList.
Solution:Jump to solution
It doesn't work for me with a Text entry, but I've made a custom View entry now and get the file_names.
6 Replies
Could anyone help me with this, please?
Maybe a TextEntry with
formatStateUsing()
?
https://filamentphp.com/docs/3.x/infolists/entries/text#custom-formattingThanks, I'll try this out. π
Solution
It doesn't work for me with a Text entry, but I've made a custom View entry now and get the file_names.
Very nice
Thanks! π