Show file uploaded in Infolist

Hi. My forms uploads a PDF to the storage. Is there a way to show a component in an Infolist and download the file?
Thanks
Solution
Oops, I managed to solve it using Custom entries.

https://filamentphp.com/docs/3.x/infolists/entries/custom

My view:
<x-dynamic-component :component="$getEntryWrapperView()" :entry="$entry">
<div>
@foreach($getState() as $state)
<p><a href="{{ url('storage/'.$state) }}" title="Download">{{ $state }}</a></p>
@endforeach
</div>
</x-dynamic-component>
Was this page helpful?