juin.lima
juin.lima
FFilament
Created by PabloZagni on 8/14/2024 in #❓┊help
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
FFilament
Created by PabloZagni on 8/14/2024 in #❓┊help
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
FFilament
Created by PabloZagni on 8/14/2024 in #❓┊help
Show file uploaded in Infolist
ErrorException Array to string conversion
14 replies
FFilament
Created by PabloZagni on 8/14/2024 in #❓┊help
Show file uploaded in Infolist
TextEntry::make('attachment') ->url(fn ($state) => url('storage/'.$state)) ->listWithLineBreaks(),
14 replies
FFilament
Created by PabloZagni on 8/14/2024 in #❓┊help
Show file uploaded in Infolist
Exactly, that's what I tried.
14 replies
FFilament
Created by PabloZagni on 8/14/2024 in #❓┊help
Show file uploaded in Infolist
But what if it is an array with multiple attachments? I tried but I couldn't.
14 replies
FFilament
Created by emiel on 4/14/2024 in #❓┊help
How to add a personalized greeting to emails?
No description
11 replies
FFilament
Created by emiel on 4/14/2024 in #❓┊help
How to add a personalized greeting to emails?
11 replies
FFilament
Created by juin.lima on 2/20/2024 in #❓┊help
Table summarize Layout
No description
3 replies
FFilament
Created by juin.lima on 2/20/2024 in #❓┊help
Table summarize Layout
Another question, how to do individual research by group?
3 replies