Shavik
Shavik
FFilament
Created by SOIX on 2/18/2024 in #❓┊help
Register chart controller
Did you ever figure this out? I'm in need of this chart as well 🙂
12 replies
FFilament
Created by hitech95 on 9/20/2024 in #❓┊help
Download a generated file with Action button
I put this in a method on my Order model so I can do something like this:
Actions\Action::make('receipt')
->label('Download Receipt')
->icon('far-file-pdf')
->action(fn (Order $order) => $order->downloadReceipt()),
Actions\Action::make('receipt')
->label('Download Receipt')
->icon('far-file-pdf')
->action(fn (Order $order) => $order->downloadReceipt()),
13 replies
FFilament
Created by hitech95 on 9/20/2024 in #❓┊help
Download a generated file with Action button
I know this is an old topic but I just fought with this a bit on downloading a generated PDF from the spatie package. @awcodes I know you're probably watching the super bowl today but saw you asked him to paste the whole action. In my case, I had binary PDF data from the internal browsershot instance within Laravel PDF. This code properly returns the PDF and autodownloads it.
$pdfContent = $receipt->getBrowsershot()->pdf();
$pdfContent = $receipt->getBrowsershot()->pdf();
Where $receipt is a PdfBuilder instance.
return response()->streamDownload(function () use ($pdfContent) {
echo $pdfContent;
}, $filename, [
'Content-Type' => 'application/pdf',
]);
return response()->streamDownload(function () use ($pdfContent) {
echo $pdfContent;
}, $filename, [
'Content-Type' => 'application/pdf',
]);
13 replies
FFilament
Created by ZeroCharistmas on 6/12/2024 in #❓┊help
Text input with partially obfuscated data.
Glad you got it working!
34 replies
FFilament
Created by Bryan on 1/9/2024 in #❓┊help
Page refresh when header action is clicked
What was the solution?
7 replies
FFilament
Created by Tetracyclic on 4/28/2024 in #❓┊help
Select::selectablePlaceholder(false) not working with relationships
Looks like if I set the default option 'it works' but I expected having no selectable placeholder meant that the 'option shown' would be the one submitted.
5 replies
FFilament
Created by Tetracyclic on 4/28/2024 in #❓┊help
Select::selectablePlaceholder(false) not working with relationships
I'm experiencing this as well. Did you ever figure it out?
5 replies
FFilament
Created by ericmp on 4/2/2024 in #❓┊help
Trying to find a way to show the infolist in the EditResource page
This doesn't help but I've seen that Dan mentioned this functionality is coming in Filament v4.
11 replies
FFilament
Created by Alnuaimi on 5/7/2024 in #❓┊help
How to LDAP Integration ?
I did not integrate this with my plugin. And as I mentioned in my plugin's channel, this error is not related to my plugin from the screenshots you've shown and also not related to Filament.
20 replies
FFilament
Created by assertchris on 4/4/2024 in #❓┊help
Method Illuminate\Support\Str::ucwords does not exist.
Hmm I see, that was on navigationGroups which doesn't accept a closure. Now building full manual with the builder and it loads.
33 replies
FFilament
Created by assertchris on 4/4/2024 in #❓┊help
Method Illuminate\Support\Str::ucwords does not exist.
@assertchris I'm running into this as well. I feel like I'm doing it just as the docs say but get that Str::ucwords exception like you were getting.
33 replies
FFilament
Created by Shavik on 3/29/2024 in #❓┊help
SelectFIlter & AsEnumCollection
It could be a 'me' problem too but I don't believe so..
18 replies
FFilament
Created by Shavik on 3/29/2024 in #❓┊help
SelectFIlter & AsEnumCollection
Was trying to find if this is a eloquent problem, a laravel problem, or a filament problem lol
18 replies
FFilament
Created by Shavik on 3/29/2024 in #❓┊help
SelectFIlter & AsEnumCollection
This is using sqlite
18 replies
FFilament
Created by Shavik on 3/29/2024 in #❓┊help
SelectFIlter & AsEnumCollection
18 replies
FFilament
Created by Shavik on 3/29/2024 in #❓┊help
SelectFIlter & AsEnumCollection
No description
18 replies
FFilament
Created by Shavik on 3/29/2024 in #❓┊help
SelectFIlter & AsEnumCollection
No description
18 replies
FFilament
Created by Shavik on 3/29/2024 in #❓┊help
SelectFIlter & AsEnumCollection
I switched out to sqlite and it doesn't throw an 'error' anymore, but the search results are wrong / it 'ignores' the filter
18 replies
FFilament
Created by Shavik on 3/29/2024 in #❓┊help
SelectFIlter & AsEnumCollection
18 replies
FFilament
Created by Shavik on 8/7/2023 in #❓┊help
Widget Color()
Done, I had totally forgotten about this 🙂
26 replies