juin.lima
Show file uploaded in Infolist
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>
14 replies
Show file uploaded in Infolist
I also tried like this
TextEntry::make('attachments')
->url(function ($state) {
foreach ($state as $attachment) {
return url('storage/'.$attachment);
}
})
->listWithLineBreaks(),
But it always shows only the first attachment.
14 replies
How to add a personalized greeting to emails?
https://laraveldaily.com/post/filament-customize-auth-emails-reset-password-user-verification
This helped me!
@PovilasKorop thank's
11 replies